Browse Source

prevent the use of chdir

pull/231/head
Oliverpool 8 years ago
parent
commit
43178d5bbf
  1. 3
      setup.py

3
setup.py

@ -28,8 +28,7 @@ if sys.platform[0:3] == 'win':
if not os.path.isdir(root_directory):
return
with chdir(root_directory):
for root, __ignored, filenames in os.walk(os.curdir):
for root, __ignored, filenames in os.walk(root_directory):
for filename in filenames:
yield os.path.join(root, filename)

Loading…
Cancel
Save