Skip to content

Commit

Permalink
Merge d0fc67f into 4d234fb
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Mar 29, 2016
2 parents 4d234fb + d0fc67f commit d479886
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions Scripts/pilfile.py
Expand Up @@ -67,15 +67,13 @@

def globfix(files):
# expand wildcards where necessary
if sys.platform == "win32":
out = []
for file in files:
if glob.has_magic(file):
out.extend(glob.glob(file))
else:
out.append(file)
return out
return files
out = []
for file in files:
if glob.has_magic(file):
out.extend(glob.glob(file))
else:
out.append(file)
return out

for file in globfix(args):
try:
Expand Down

0 comments on commit d479886

Please sign in to comment.