[csw-devel] SF.net SVN: gar:[21573] csw/mgar/gar/v2/lib/python/integrate_catalogs.py

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Mon Jul 29 19:04:10 CEST 2013


Revision: 21573
          http://gar.svn.sourceforge.net/gar/?rev=21573&view=rev
Author:   wahwah
Date:     2013-07-29 17:04:08 +0000 (Mon, 29 Jul 2013)
Log Message:
-----------
integrate-catalogs: Small style changes

Aligning function arguments.

Modified Paths:
--------------
    csw/mgar/gar/v2/lib/python/integrate_catalogs.py

Modified: csw/mgar/gar/v2/lib/python/integrate_catalogs.py
===================================================================
--- csw/mgar/gar/v2/lib/python/integrate_catalogs.py	2013-07-29 15:15:33 UTC (rev 21572)
+++ csw/mgar/gar/v2/lib/python/integrate_catalogs.py	2013-07-29 17:04:08 UTC (rev 21573)
@@ -145,8 +145,9 @@
   return dict((x[field], x) for x in d)
 
 
-def GetCatalogs(catrel_from, catrel_to, include_downgrades,
-                          include_version_changes):
+def GetCatalogs(catrel_from, catrel_to,
+                include_version_changes,
+                include_downgrades):
   rest_client = rest.RestClient()
   def GetCatalog(rest_client, r_catrel, r_arch, r_osrel):
     key = r_catrel, r_arch, r_osrel
@@ -284,11 +285,13 @@
         for x in jsonable_catalogs)
   else:
     catalogs = GetCatalogs(
-        catrel_from, catrel_to, options.include_downgrades,
-        options.include_version_changes)
+        catrel_from, catrel_to,
+        options.include_version_changes,
+        options.include_downgrades)
     diffs_by_catalogname = ComposeDiffsByCatalogname(
-        catalogs, catrel_from, catrel_to, include_version_changes,
-        include_downgrades)
+        catalogs, catrel_from, catrel_to,
+        options.include_version_changes,
+        options.include_downgrades)
     bundles_by_md5 = {}
     bundles_missing = set()
     cp = rest.CachedPkgstats("pkgstats")

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list