[svn] r4786 - trunk/tools/yam

packagers at lists.rpmforge.net packagers at lists.rpmforge.net
Mon Oct 2 08:44:27 CEST 2006


Author: dag
Date: 2006-10-02 08:44:25 +0200 (Mon, 02 Oct 2006)
New Revision: 4786

Modified:
   trunk/tools/yam/yam
Log:
Catch another unverified error.

Modified: trunk/tools/yam/yam
===================================================================
--- trunk/tools/yam/yam	2006-10-01 13:44:48 UTC (rev 4785)
+++ trunk/tools/yam/yam	2006-10-02 06:44:25 UTC (rev 4786)
@@ -1314,6 +1314,8 @@
 		raise(YamMirrorException('Error listing packages from channel %s. Skipping. %s' % (label, f.faultString)))
 	except up2dateErrors.CommunicationError, e:
 		raise(YamMirrorException('Error listing packages from channel %s. Skipping.\n%s' % (label, e)))
+	except KeyError, e:
+		raise(YamMirrorException('Unknown error that needs more debugging occured with channel %s. Skipping.\n%s' % (label, e)))
 
 	### Download packages from the packagelist
 	signal.signal(signal.SIGINT, signal.SIG_DFL)



More information about the svn-commits mailing list