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

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Fri Aug 12 14:39:06 CEST 2011


Revision: 15324
          http://gar.svn.sourceforge.net/gar/?rev=15324&view=rev
Author:   dmichelsen
Date:     2011-08-12 12:39:06 +0000 (Fri, 12 Aug 2011)

Log Message:
-----------
mGAR v2: Add special case for libz

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

Modified: csw/mgar/gar/v2/lib/python/sharedlib_utils.py
===================================================================
--- csw/mgar/gar/v2/lib/python/sharedlib_utils.py	2011-08-12 12:17:03 UTC (rev 15323)
+++ csw/mgar/gar/v2/lib/python/sharedlib_utils.py	2011-08-12 12:39:06 UTC (rev 15324)
@@ -173,6 +173,8 @@
 
 def ValidateCollectionName(l):
   letters = "".join(re.findall(r"[a-zA-Z]", l))
+  # Special case for libz
+  if len(letters) == 1 and letters[0] == 'z': return True
   if len(letters) <= 1:
     return False
   return True


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