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

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Wed Jun 30 07:02:12 CEST 2010


Revision: 10388
          http://gar.svn.sourceforge.net/gar/?rev=10388&view=rev
Author:   wahwah
Date:     2010-06-30 05:02:12 +0000 (Wed, 30 Jun 2010)

Log Message:
-----------
mGAR v2: checkpkg, slightly obfuscating the bad content regexes.

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-06-29 18:09:18 UTC (rev 10387)
+++ csw/mgar/gar/v2/lib/python/checkpkg.py	2010-06-30 05:02:12 UTC (rev 10388)
@@ -45,9 +45,10 @@
 PSTAMP_RE = r"(?P<username>\w+)@(?P<hostname>[\w\.-]+)-(?P<timestamp>\d+)"
 DESCRIPTION_RE = r"^([\S]+) - (.*)$"
 BAD_CONTENT_REGEXES = (
-    # No need to encode / obfuscate these, as overrides can be used.
-    r'/export/medusa',
-    r'/opt/build',
+    # Slightly obfuscating these by using the default concatenation of
+    # strings.
+    r'/export' r'/medusa',
+    r'/opt' r'/build',
 )
 
 SYSTEM_SYMLINKS = (


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