diff options
-rw-r--r-- | gbp/notifications.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/notifications.py b/gbp/notifications.py index 95c4bf4..9d9071a 100644 --- a/gbp/notifications.py +++ b/gbp/notifications.py @@ -28,7 +28,7 @@ def enable_notifications(): try: import pynotify notify_module = pynotify - except ImportError: + except (ImportError, RuntimeError): return False return notify_module.init("git-buildpackage") |