From ac318eecd5af29772ba31382e938b48cd5eff3f0 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Fri, 4 Oct 2013 00:17:37 -0400 Subject: Fix missing exception object --- tests/sanity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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() -- cgit