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

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Sat Feb 20 00:59:22 CET 2010


Revision: 8696
          http://gar.svn.sourceforge.net/gar/?rev=8696&view=rev
Author:   wahwah
Date:     2010-02-19 23:59:22 +0000 (Fri, 19 Feb 2010)

Log Message:
-----------
mGAR v2: checkpkg, skipping hashed lines from /var/sadm/install/contents.

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

Modified: csw/mgar/gar/v2/lib/python/checkpkg.py
===================================================================
--- csw/mgar/gar/v2/lib/python/checkpkg.py	2010-02-19 23:48:19 UTC (rev 8695)
+++ csw/mgar/gar/v2/lib/python/checkpkg.py	2010-02-19 23:59:22 UTC (rev 8696)
@@ -225,6 +225,8 @@
         print "\r~%3.1f%%" % (100.0 * i / estimated_lines,),
       if stop_re.search(line):
         continue
+      if line.startswith("#"):
+        continue
       fields = re.split(WS_RE, line)
       pkgmap_entry_path = fields[0].split("=")[0]
       pkgmap_entry_dir, pkgmap_entry_base_name = os.path.split(pkgmap_entry_path)


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