[game-data-packager] 14/24: Stop catching KeyboardInterrupt here, it makes it annoying to cancel
Simon McVittie
smcv at debian.org
Tue Dec 30 01:32:04 UTC 2014
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to branch master
in repository game-data-packager.
commit d88578821869fb4f55da3d5b11db8d4df76400ef
Author: Simon McVittie <smcv at debian.org>
Date: Mon Dec 29 16:48:45 2014 +0000
Stop catching KeyboardInterrupt here, it makes it annoying to cancel
---
lib/game_data_packager/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/game_data_packager/__init__.py b/lib/game_data_packager/__init__.py
index 2f87adb..b07f10f 100644
--- a/lib/game_data_packager/__init__.py
+++ b/lib/game_data_packager/__init__.py
@@ -560,7 +560,7 @@ class GameDataPackage(object):
break
else:
os.remove(tmp)
- except (Exception, KeyboardInterrupt) as e:
+ except Exception as e:
logger.warning('Failed to download "%s": %s', url,
e)
self.download_failed.add(url)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git
More information about the Pkg-games-commits
mailing list