Skip to content

Commit

Permalink
Bug fix and improvements for AppVeyor introspection :-)
Browse files Browse the repository at this point in the history
  • Loading branch information
xolox committed Nov 11, 2015
1 parent 83f0af1 commit 2a07576
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion scripts/appveyor.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,16 @@
from executor import get_search_path, which

print("FakeS3 executables:\n%r" % which('fakes3'))

for program in which('fakes3'):
with open(program) as handle:
contents = handle.read()
delimiter = "-" * 40
vertical_whitespace = "\n\n"
padding = vertical_whitespace + delimiter + vertical_whitespace
print(padding + ("%s:" % program) + padding + contents + padding)

print("Executable search path:\n\n%s" % "\n\n".join(
"%s:\n%s" % (d, concatenate(sorted(os.listdir(d))))
for d in get_search_path()
for d in get_search_path() if os.path.isdir(d)
))

0 comments on commit 2a07576

Please sign in to comment.