summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-11-20 09:25:54 -0800
committerZac Medico <zmedico@gentoo.org>2010-11-20 09:25:54 -0800
commitff09dcf1a352ebacd0ac3e7666c5b70bb6f0f99c (patch)
tree8be0e02c14a1a2261c493b62e8a9fb75c194b8e5
parentea68a918a543023b79fac702783966d3bce623c7 (diff)
downloadportage-ff09dcf1a352ebacd0ac3e7666c5b70bb6f0f99c.tar.gz
portage-ff09dcf1a352ebacd0ac3e7666c5b70bb6f0f99c.tar.bz2
portage-ff09dcf1a352ebacd0ac3e7666c5b70bb6f0f99c.zip
_get_use*: remove unused code
-rw-r--r--pym/portage/dep/__init__.py6
1 files changed, 0 insertions, 6 deletions
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"]