mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
Another batch of updates...
This commit is contained in:
parent
52a42fe9e7
commit
a8763e54ff
20 changed files with 842 additions and 62 deletions
|
@ -43,7 +43,7 @@ def compile_dir(dir, maxlevels = 10):
|
|||
|
||||
def compile_path(skip_curdir = 1):
|
||||
for dir in sys.path:
|
||||
if dir == os.curdir and skip_curdir:
|
||||
if (not dir or dir == os.curdir) and skip_curdir:
|
||||
print 'Skipping current directory'
|
||||
else:
|
||||
compile_dir(dir, 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue