Skip to content

Commit 7789964

Browse files
committed
-
1 parent b4caef3 commit 7789964

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

source_py2/python_toolbox/temp_file_tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import shutil
88
try:
99
import pathlib
10-
except:
10+
except ImportError:
1111
from python_toolbox.third_party import pathlib
1212

1313

source_py3/python_toolbox/temp_file_tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import shutil
88
try:
99
import pathlib
10-
except:
10+
except ImportError:
1111
from python_toolbox.third_party import pathlib
1212

1313

0 commit comments

Comments
 (0)