[csw-devel] SF.net SVN: gar:[18038] csw/mgar/gar/v2/lib/python/makeStdLibDb.py
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Thu May 17 18:19:31 CEST 2012
Revision: 18038
http://gar.svn.sourceforge.net/gar/?rev=18038&view=rev
Author: wahwah
Date: 2012-05-17 16:19:31 +0000 (Thu, 17 May 2012)
Log Message:
-----------
makeStdLibDb: Normalize whitespace
Tabs changed to spaces.
The curse of Python.
Modified Paths:
--------------
csw/mgar/gar/v2/lib/python/makeStdLibDb.py
Modified: csw/mgar/gar/v2/lib/python/makeStdLibDb.py
===================================================================
--- csw/mgar/gar/v2/lib/python/makeStdLibDb.py 2012-05-17 14:48:19 UTC (rev 18037)
+++ csw/mgar/gar/v2/lib/python/makeStdLibDb.py 2012-05-17 16:19:31 UTC (rev 18038)
@@ -16,29 +16,29 @@
cwd = getcwd()
chdir('/usr/lib')
for lib in listdir('.'):
- if re.match('lib[a-zA-Z0-9_-]*.so.[0-9]+$',lib):
- liblst.append(lib)
+ if re.match('lib[a-zA-Z0-9_-]*.so.[0-9]+$',lib):
+ liblst.append(lib)
chdir('/usr/dt/lib')
for lib in listdir('.'):
- if re.match('lib[a-zA-Z0-9_-]*.so.[0-9]+$',lib):
- if not lib in liblst:
- liblst.append(lib)
+ if re.match('lib[a-zA-Z0-9_-]*.so.[0-9]+$',lib):
+ if not lib in liblst:
+ liblst.append(lib)
chdir('/usr/openwin/lib')
for lib in listdir('.'):
- if re.match('lib[a-zA-Z0-9_-]*.so.[0-9]+$',lib):
- if not lib in liblst:
- liblst.append(lib)
+ if re.match('lib[a-zA-Z0-9_-]*.so.[0-9]+$',lib):
+ if not lib in liblst:
+ liblst.append(lib)
chdir('/usr/X11/lib')
for lib in listdir('.'):
- if re.match('lib[a-zA-Z0-9_-]*.so.[0-9]+$',lib):
- if not lib in liblst:
- liblst.append(lib)
+ if re.match('lib[a-zA-Z0-9_-]*.so.[0-9]+$',lib):
+ if not lib in liblst:
+ liblst.append(lib)
chdir('/usr/ucblib')
for lib in listdir('.'):
- if re.match('lib[a-zA-Z0-9_-]*.so.[0-9]+$',lib):
- if not lib in liblst:
- liblst.append(lib)
+ if re.match('lib[a-zA-Z0-9_-]*.so.[0-9]+$',lib):
+ if not lib in liblst:
+ liblst.append(lib)
chdir(cwd)
with open(fnLiblst,'w') as fd:
- fd.write(cjson.encode(liblst))
+ fd.write(cjson.encode(liblst))
fd.close()
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