From: Zac Medico Date: Sat, 20 Nov 2010 17:25:54 +0000 (-0800) Subject: _get_use*: remove unused code X-Git-Tag: v2.2.0_alpha5~12 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ff09dcf1a352ebacd0ac3e7666c5b70bb6f0f99c;p=portage.git _get_use*: remove unused code --- diff --git a/pym/portage/dep/__init__.py b/pym/portage/dep/__init__.py index ab7c2a22f..efba2f0d2 100644 --- a/pym/portage/dep/__init__.py +++ b/pym/portage/dep/__init__.py @@ -636,9 +636,6 @@ _usedep_re = { } def _get_usedep_re(eapi): - if eapi is None: - eapi = str(EAPI) - return _usedep_re["0"] # if eapi in ("0", "1", "2_pre1", "2_pre2", "2_pre3", "2", "3_pre1", "3_pre2", "3", "4_pre1"): # return _usedep_re["0"] @@ -1609,9 +1606,6 @@ _useflag_re = { } def _get_useflag_re(eapi): - if eapi is None: - eapi = str(EAPI) - return _useflag_re["0"] # if eapi in ("0", "1", "2_pre1", "2_pre2", "2_pre3", "2", "3_pre1", "3_pre2", "3", "4_pre1"): # return _useflag_re["0"]