Commit 7ea14447 authored by Anders Blomdell's avatar Anders Blomdell
Browse files

Only archive sourcefile once

parent 7f5fa3fd
apa 100644 → 100755
......@@ -69,6 +69,7 @@ if __name__ == '__main__':
# Read all python files
code = []
processed = set()
for filename in args:
archivename = filename
for strip in options.strip:
......@@ -77,6 +78,10 @@ if __name__ == '__main__':
archivename = m.group(1)
break
if archivename in processed:
continue
processed.add(archivename)
name = getModuleName(archivename)
if name:
f = open(filename)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment