summaryrefslogtreecommitdiff
path: root/raphodo/storage.py
diff options
context:
space:
mode:
authorAntoine Beaupré <anarcat@debian.org>2018-03-14 12:25:11 -0400
committerAntoine Beaupré <anarcat@debian.org>2018-03-14 12:25:11 -0400
commit19c038a39f39ca58ec9eda218f412856fa149fb4 (patch)
tree16bee584700903300b29518d9a7f0c6c3c916b50 /raphodo/storage.py
parentd1098f6cc37c5b7b98a28470781f3c4dd5d046d5 (diff)
parent0a297829eaf3912c939e1b43a3ef6ddeb7607b38 (diff)
Merge tag 'upstream/0.9.9'
Upstream version 0.9.9
Diffstat (limited to 'raphodo/storage.py')
-rw-r--r--raphodo/storage.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/raphodo/storage.py b/raphodo/storage.py
index f4ef551..786b5d8 100644
--- a/raphodo/storage.py
+++ b/raphodo/storage.py
@@ -1008,10 +1008,10 @@ class UDisks2Monitor(QObject):
logging.debug("UDisks: attempting to mount %s", path)
mount_point = self.retry_mount(fs, fstype)
if not mount_point:
- raise
+ raise Exception
else:
logging.debug("UDisks: successfully mounted at %s", mount_point)
- except:
+ except Exception:
logging.error('UDisks: could not mount the device: %s', path)
return
else: