Allow files for get_default_project, fixes #1552
This commit is contained in:
1 parent
97fb95ec0c
commit
7fd5c8af8f
3 files changed
+16
-1
No files matched your search
@@ -339,6 +339,13 @@ try:
|
||||
except NameError:
|
||||
PermissionError = IOError
|
||||
|
||||
try:
|
||||
NotADirectoryError = NotADirectoryError
|
||||
except NameError:
|
||||
class NotADirectoryError(Exception):
|
||||
# Don't implement this for Python 2 anymore.
|
||||
pass
|
||||
|
||||
|
||||
def no_unicode_pprint(dct):
|
||||
"""
|
||||
|
||||
Reference in new issue
Block a user