summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2013-10-04 00:17:37 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2013-10-04 00:17:37 -0400
commitac318eecd5af29772ba31382e938b48cd5eff3f0 (patch)
treeb85f5bf25091045712b74dfc6f559c256c905d08
parent65f9d5ec5ae974617338c035e5c39a053c7f3691 (diff)
downloadlnmod-ac318eecd5af29772ba31382e938b48cd5eff3f0.tar.gz
Fix missing exception object
-rw-r--r--tests/sanity.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sanity.py b/tests/sanity.py
index e7344f9..17717d7 100644
--- a/tests/sanity.py
+++ b/tests/sanity.py
@@ -96,7 +96,7 @@ class TestLnmod(unittest.TestCase):
lnmod.replace_links(rmap)
except OSError as e:
self.fail('Could not replace link. {0}'.format(e.strerror()))
- except IOError:
+ except IOError as e:
self.fail('Could not replace link. {0}'.format(e.strerror()))
deinit_test_data()