mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-24 13:20:43 +08:00
Merge pull request #483 from almarklein/windowserror
Create dummy WindowsError that is an actual Exception instead of None.
This commit is contained in:
+2
-1
@@ -8,7 +8,8 @@ import subprocess
|
||||
try:
|
||||
WindowsError
|
||||
except NameError:
|
||||
WindowsError = None
|
||||
class WindowsError(Exception):
|
||||
pass
|
||||
|
||||
|
||||
def cython(pyx_files, working_path=''):
|
||||
|
||||
Reference in New Issue
Block a user