summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-10-07 12:56:37 -0700
committerZac Medico <zmedico@gentoo.org>2010-10-07 12:56:37 -0700
commit232593387c394f325b816c93fa09264c4591c3ca (patch)
treec27396113a34bb98221b6bea6fa6cf740a5ebdec
parentabb7c534eee48795354ae3ab1b17ef319bf5e6e3 (diff)
downloadportage-232593387c394f325b816c93fa09264c4591c3ca.tar.gz
portage-232593387c394f325b816c93fa09264c4591c3ca.tar.bz2
portage-232593387c394f325b816c93fa09264c4591c3ca.zip
Revert fix for bug #339939, pending discussion.
This reverts commit abb7c534eee48795354ae3ab1b17ef319bf5e6e3.
-rwxr-xr-xbin/repoman15
1 files changed, 0 insertions, 15 deletions
diff --git a/bin/repoman b/bin/repoman
index e20accf10..1308ec717 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -442,8 +442,6 @@ live_eclasses = frozenset([
"tla",
])
-_git_snapshot_re = re.compile('^\s*EGIT_COMMIT=')
-
suspect_rdepend = frozenset([
"app-arch/cabextract",
"app-arch/rpm2targz",
@@ -1468,19 +1466,6 @@ for x in scanlist:
eapi = myaux["EAPI"]
inherited = pkg.inherited
live_ebuild = live_eclasses.intersection(inherited)
- if len(live_ebuild) == 1 and next(iter(live_ebuild)) == 'git':
- is_snapshot = False
- f = codecs.open(_unicode_encode(full_path,
- encoding=_encodings['fs'], errors='strict'),
- mode='r', encoding=_encodings['repo.content'],
- errors='replace')
- for line in f:
- if _git_snapshot_re.match(line) is not None:
- is_snapshot = True
- break
- f.close()
- if is_snapshot:
- live_ebuild = frozenset()
for k, v in myaux.items():
if not isinstance(v, basestring):