indentation fix
This commit is contained in:
@@ -124,7 +124,7 @@ def getPatches(filename, pkgName, version):
|
|||||||
patched = True
|
patched = True
|
||||||
line = line[p.end():]
|
line = line[p.end():]
|
||||||
for r in dispatcher.keys():
|
for r in dispatcher.keys():
|
||||||
m = r.search(line)
|
m = r.search(line)
|
||||||
while m:
|
while m:
|
||||||
line = line[:m.start()] + dispatcher[r] + line[m.end():]
|
line = line[:m.start()] + dispatcher[r] + line[m.end():]
|
||||||
m = r.search(line)
|
m = r.search(line)
|
||||||
|
|||||||
+1
-1
@@ -44,7 +44,7 @@ if __name__ == "__main__":
|
|||||||
dirlist.append(os.path.dirname(file))
|
dirlist.append(os.path.dirname(file))
|
||||||
|
|
||||||
for dir in uniq(dirlist):
|
for dir in uniq(dirlist):
|
||||||
print dir
|
print "<Path fileType=\"\">" + dir.replace("install/", "/") + "</Path>"
|
||||||
elif sys.argv[1]:
|
elif sys.argv[1]:
|
||||||
f = openZip(sys.argv[1])
|
f = openZip(sys.argv[1])
|
||||||
for file in fillFileList(f):
|
for file in fillFileList(f):
|
||||||
|
|||||||
Reference in New Issue
Block a user