[Collab-qa-commits] r1829 - udd/udd

Lucas Nussbaum lucas at alioth.debian.org
Sat Oct 30 09:43:41 UTC 2010


Author: lucas
Date: 2010-10-30 09:43:39 +0000 (Sat, 30 Oct 2010)
New Revision: 1829

Modified:
   udd/udd/src_and_pkg_gatherer.py
Log:
import archives without sources or without binaries

Modified: udd/udd/src_and_pkg_gatherer.py
===================================================================
--- udd/udd/src_and_pkg_gatherer.py	2010-10-30 09:42:14 UTC (rev 1828)
+++ udd/udd/src_and_pkg_gatherer.py	2010-10-30 09:43:39 UTC (rev 1829)
@@ -13,5 +13,7 @@
     self.pkg = packages_gatherer.packages_gatherer(connection, config, source)
 
   def run(self):
-    self.src.run()
-    self.pkg.run()
+    if not self.my_config.has_key('no-sources'):
+        self.src.run()
+    if not self.my_config.has_key('no-binaries'):
+        self.pkg.run()




More information about the Collab-qa-commits mailing list