[svn] r6500 - trunk/tools/mrepo

packagers at lists.rpmforge.net packagers at lists.rpmforge.net
Mon Oct 6 04:58:53 CEST 2008


Author: dag
Date: 2008-10-06 03:58:53 +0100 (Mon, 06 Oct 2008)
New Revision: 6500

Modified:
   trunk/tools/mrepo/rhnget
Log:
Removed code from rhnget that masked a proper python stacktrace.

Modified: trunk/tools/mrepo/rhnget
===================================================================
--- trunk/tools/mrepo/rhnget	2008-10-06 02:55:55 UTC (rev 6499)
+++ trunk/tools/mrepo/rhnget	2008-10-06 02:58:53 UTC (rev 6500)
@@ -158,11 +158,11 @@
     def add(self, input):
         if input not in self.list:
             self.list.append(input)
-    
+
     def delete(self, input):
         if input in self.list:
             self.list.removed(input)
-    
+
     def difference(self, other):
         newlist = Set()
         for element in self.list:
@@ -172,7 +172,7 @@
 
     def sort(self):
         return self.list.sort()
-    
+
     def __str__(self):
         return '\n\t' + '\n\t'.join([element[0] for element in self.list])
 
@@ -497,10 +497,7 @@
             remove(os.path.join(path, filename))
 
 def main():
-    try:
-        mirrorrhn(op.uri, op.destination)
-    except Exception, e:
-        die(1, e)
+    mirrorrhn(op.uri, op.destination)
 
 ### Unbuffered sys.stdout
 sys.stdout = os.fdopen(1, 'w', 0)




More information about the commits mailing list