Parent Directory | Revision Log | Patch
revision 1.2 by tjl, Tue Apr 22 13:38:07 2003 UTC | revision 1.3 by tjl, Tue Apr 22 19:49:05 2003 UTC | |
---|---|---|
# | Line 15 def convertFile(file, prefix, resolution | Line 15 def convertFile(file, prefix, resolution |
15 | "ab1", "ab2" and "ab3". Note: 1-based. | "ab1", "ab2" and "ab3". Note: 1-based. |
16 | """ | """ |
17 | print "Processing ",file | print "Processing ",file |
18 | l = os.popen("file -i -b %(pool)s/%(file)s" % locals()).readlines()[0] | l = os.popen("file -i -b %(file)s" % locals()).readlines()[0] |
19 | l = l.rstrip().lstrip() | l = l.rstrip().lstrip() |
20 | print "'%(l)s'" % locals() | print "'%(l)s'" % locals() |
21 |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |