Skip to content

Commit 4e13c2c

Browse files
committed
Better PEP8 conformance.
1 parent 60f8b86 commit 4e13c2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

structure_threader/sanity_checks/sanity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def cpu_checker(asked_threads):
172172
threads = os.cpu_count()
173173
else:
174174
threads = asked_threads
175-
except:
175+
except OSError:
176176
threads = asked_threads
177177
return threads
178178

0 commit comments

Comments
 (0)