[meld/VersionControlRework: 43/123] vc.git: Fix bare except
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld/VersionControlRework: 43/123] vc.git: Fix bare except
- Date: Sun, 19 Apr 2015 20:09:36 +0000 (UTC)
commit 3472a40628865fdc2fba64265bd2ba20902533f9
Author: Kai Willadsen <kai willadsen gmail com>
Date: Sun Mar 22 15:11:06 2015 +1000
vc.git: Fix bare except
meld/vc/git.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meld/vc/git.py b/meld/vc/git.py
index 353758f..7815c4f 100644
--- a/meld/vc/git.py
+++ b/meld/vc/git.py
@@ -74,7 +74,7 @@ class Vc(_vc.Vc):
proc = _vc.popen([cls.CMD, '--version'])
assert proc.read().startswith('git version')
return True
- except:
+ except Exception:
return False
@classmethod
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]