Skip to content

Commit 00be31a

Browse files
author
Vladimir Kotal
committed
catch specific exception
1 parent b56acc0 commit 00be31a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/sync/mirror.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
if config['projects']:
126126
if config['projects'][args.project]:
127127
project_config = config['projects'][args.project]
128-
except:
128+
except KeyError:
129129
# The project has no config, that's fine - defaults will be used.
130130
pass
131131

0 commit comments

Comments
 (0)