|
|
@@ -247,11 +247,11 @@ def py2pyc(file):
|
|
|
|
|
|
def CompileFiles(file):
|
|
|
if (os.path.isfile(file)):
|
|
|
- if (string.endswith(".egg")):
|
|
|
+ if (file.endswith(".egg")):
|
|
|
egg2bam(file, file[:-4]+'.bam')
|
|
|
- elif (string.endswith(".egg.pz")):
|
|
|
+ elif (file.endswith(".egg.pz")):
|
|
|
egg2bam(file, file[:-7]+'.bam')
|
|
|
- elif (string.endswith(".py")):
|
|
|
+ elif (file.endswith(".py")):
|
|
|
py2pyc(file)
|
|
|
else: pass
|
|
|
elif (os.path.isdir(file)):
|