Show More
@@ -103,6 +103,10 b' skip_doctest = True' | |||
|
103 | 103 | |
|
104 | 104 | import time, os, threading, sys, types, imp, inspect, traceback, atexit |
|
105 | 105 | import weakref |
|
106 | try: | |
|
107 | reload | |
|
108 | except NameError: | |
|
109 | from imp import reload | |
|
106 | 110 | |
|
107 | 111 | def _get_compiled_ext(): |
|
108 | 112 | """Official way to get the extension of compiled files (.pyc or .pyo)""" |
@@ -66,7 +66,7 b' def find_cmd(cmd):' | |||
|
66 | 66 | except OSError: |
|
67 | 67 | raise FindCmdError('command could not be found: %s' % cmd) |
|
68 | 68 | # which returns empty if not found |
|
69 |
if path == |
|
|
69 | if path == '': | |
|
70 | 70 | raise FindCmdError('command could not be found: %s' % cmd) |
|
71 | 71 | return os.path.abspath(path) |
|
72 | 72 |
General Comments 0
You need to be logged in to leave comments.
Login now