Show More
@@ -26,6 +26,7 b' itself from the command line. There are two ways of running this script:' | |||
|
26 | 26 | #----------------------------------------------------------------------------- |
|
27 | 27 | |
|
28 | 28 | # Stdlib |
|
29 | import glob | |
|
29 | 30 | import os |
|
30 | 31 | import os.path as path |
|
31 | 32 | import signal |
@@ -293,7 +294,7 b' def make_exclude():' | |||
|
293 | 294 | parent, _ = os.path.split(get_ipython_package_dir()) |
|
294 | 295 | for exclusion in exclusions: |
|
295 | 296 | fullpath = pjoin(parent, exclusion) |
|
296 |
if not os.path.exists(fullpath) and not |
|
|
297 | if not os.path.exists(fullpath) and not glob.glob(fullpath + '.*'): | |
|
297 | 298 | warn("Excluding nonexistent file: %r\n" % exclusion) |
|
298 | 299 | |
|
299 | 300 | return exclusions |
General Comments 0
You need to be logged in to leave comments.
Login now