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

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Fri Oct 22 09:57:43 CEST 2010


Revision: 11366
          http://gar.svn.sourceforge.net/gar/?rev=11366&view=rev
Author:   wahwah
Date:     2010-10-22 07:57:43 +0000 (Fri, 22 Oct 2010)

Log Message:
-----------
mGAR v2: Merged a weird conflict.

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	2010-10-22 07:57:23 UTC (rev 11365)
+++ csw/mgar/gar/v2/lib/python/sharedlib_utils.py	2010-10-22 07:57:43 UTC (rev 11366)
@@ -57,6 +57,14 @@
   return c.join(parts).lower()
 
 
+
+def SanitizeWithChar(s, c):
+  parts = LEGIT_CHAR_RE.findall(s)
+  if "so" in parts:
+    parts.remove("so")
+  return c.join(parts).lower()
+
+
 def MakePackageNameBySoname(soname):
   """Find the package name based on the soname.
 


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