summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-01-29 18:53:35 +0000
committerZac Medico <zmedico@gentoo.org>2010-01-29 18:53:35 +0000
commit69a49c291130785730eda6ef712c3883714e5ad5 (patch)
treef1655b477e46bafa850b85eb570c6971ce719fc1
parent2b7247098217acc9e80b617ae5f43987d419337f (diff)
downloadportage-69a49c291130785730eda6ef712c3883714e5ad5.tar.gz
portage-69a49c291130785730eda6ef712c3883714e5ad5.tar.bz2
portage-69a49c291130785730eda6ef712c3883714e5ad5.zip
Remove code for svn.IO_error and bzr.IO_error categories since they don't
exist therefore and if this code had ever executed it would have raised a KeyError. (trunk r15222) svn path=/main/branches/2.1.7/; revision=15271
-rwxr-xr-xbin/repoman8
1 files changed, 2 insertions, 6 deletions
diff --git a/bin/repoman b/bin/repoman
index 442fb83d8..7efd7e7ec 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -1161,12 +1161,8 @@ for x in scanlist:
if vcs == "cvs":
stats["CVS/Entries.IO_error"] += 1
fails["CVS/Entries.IO_error"].append(checkdir+"/CVS/Entries")
- elif vcs == "svn":
- stats["svn.IO_error"] += 1
- fails["svn.IO_error"].append(checkdir)
- elif vcs == "bzr":
- stats["bzr.IO_error"] += 1
- fails["bzr.IO_error"].append(checkdir)
+ else:
+ raise
continue
mf = Manifest(checkdir, repoman_settings["DISTDIR"])