SF.net SVN: gar:[23048] csw/mgar/gar/v2/lib/python/package_checks.py

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Wed Feb 19 11:39:49 CET 2014


Revision: 23048
          http://sourceforge.net/p/gar/code/23048
Author:   wahwah
Date:     2014-02-19 10:39:48 +0000 (Wed, 19 Feb 2014)
Log Message:
-----------
checkpkg: Update references to data structures

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

Modified: csw/mgar/gar/v2/lib/python/package_checks.py
===================================================================
--- csw/mgar/gar/v2/lib/python/package_checks.py	2014-02-19 09:28:22 UTC (rev 23047)
+++ csw/mgar/gar/v2/lib/python/package_checks.py	2014-02-19 10:39:48 UTC (rev 23048)
@@ -898,9 +898,10 @@
     return
   spotted_a_py_file = False
   for pkgmap_entry in pkg_data["pkgmap"]:
-    if not pkgmap_entry["path"]:
+    pkgmap_entry = representations.PkgmapEntry._make(pkgmap_entry)
+    if not pkgmap_entry.path:
       continue
-    if py_file_re.match(pkgmap_entry["path"]):
+    if py_file_re.match(pkgmap_entry.path):
       spotted_a_py_file = True
       break
   if not spotted_a_py_file:

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