Commit 39bcc16e authored by Jason R. Coombs's avatar Jason R. Coombs

Remove commented code

parent 0d37c617
...@@ -10,7 +10,6 @@ def __boot(): ...@@ -10,7 +10,6 @@ def __boot():
pic = getattr(sys, 'path_importer_cache', {}) pic = getattr(sys, 'path_importer_cache', {})
stdpath = sys.path[len(PYTHONPATH):] stdpath = sys.path[len(PYTHONPATH):]
mydir = os.path.dirname(__file__) mydir = os.path.dirname(__file__)
# print "searching",stdpath,sys.path
for item in stdpath: for item in stdpath:
if item==mydir or not item: if item==mydir or not item:
...@@ -39,8 +38,6 @@ def __boot(): ...@@ -39,8 +38,6 @@ def __boot():
else: else:
raise ImportError("Couldn't find the real 'site' module") raise ImportError("Couldn't find the real 'site' module")
# print "loaded", __file__
known_paths = dict([(makepath(item)[1], 1) for item in sys.path]) # 2.2 comp known_paths = dict([(makepath(item)[1], 1) for item in sys.path]) # 2.2 comp
oldpos = getattr(sys, '__egginsert', 0) # save old insertion position oldpos = getattr(sys, '__egginsert', 0) # save old insertion position
......
...@@ -26,6 +26,5 @@ def test_directories_in_package_data_glob(tmpdir_as_cwd): ...@@ -26,6 +26,5 @@ def test_directories_in_package_data_glob(tmpdir_as_cwd):
package_data={'': ['path/*']}, package_data={'': ['path/*']},
)) ))
os.makedirs('path/subpath') os.makedirs('path/subpath')
# with contexts.quiet():
dist.parse_command_line() dist.parse_command_line()
dist.run_commands() dist.run_commands()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment