Remove @ from default commands. Update docstrings
This commit is contained in:
parent
c95a3ec2d2
commit
aa6b403cd1
14 changed files with 534 additions and 448 deletions
|
|
@ -1229,7 +1229,7 @@ def mod_import(module):
|
|||
# check just where the ImportError happened (it could have been
|
||||
# an erroneous import inside the module as well). This is the
|
||||
# trivial way to do it ...
|
||||
if str(ex) != "Import by filename is not supported.":
|
||||
if not str(ex).startswith("No module named "):
|
||||
raise
|
||||
|
||||
# error in this module. Try absolute path import instead
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue