Skip to content

Commit

Permalink
Revert chagnes to scripts/*.py
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaswiman committed Jul 22, 2017
1 parent 64cca47 commit 27ce639
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions scripts/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,12 @@
except ImportError:
ez = {}
if USE_DISTRIBUTE:
exec(urllib2.urlopen('http://python-distribute.org/distribute_setup.py'
).read(), ez)
exec urllib2.urlopen('http://python-distribute.org/distribute_setup.py'
).read() in ez
ez['use_setuptools'](to_dir=tmpeggs, download_delay=0, no_fake=True)
else:
exec(urllib2.urlopen('http://peak.telecommunity.com/dist/ez_setup.py'
).read(), ez)
exec urllib2.urlopen('http://peak.telecommunity.com/dist/ez_setup.py'
).read() in ez
ez['use_setuptools'](to_dir=tmpeggs, download_delay=0)

if to_reload:
Expand Down
2 changes: 1 addition & 1 deletion scripts/nosy.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def walk(_path):
try:
return next(os.walk(_path))
except NameError:
return next(os.walk(_path))
return os.walk(_path).next()
for root, directories, filenames in walk(pathname):
yield root
for directory in directories:
Expand Down

0 comments on commit 27ce639

Please sign in to comment.