From 42f6a5609fa8190fbd816d147603c4b8db01fac9 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone Date: Wed, 14 Aug 2019 09:23:11 -0400 Subject: [PATCH] Use the better variable name --- src/allmydata/test/test_sftp.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/allmydata/test/test_sftp.py b/src/allmydata/test/test_sftp.py index 2d1e7730a..b6f1fbc8a 100644 --- a/src/allmydata/test/test_sftp.py +++ b/src/allmydata/test/test_sftp.py @@ -36,7 +36,9 @@ class Handler(GridTestMixin, ShouldFailMixin, ReallyEqualMixin, unittest.TestCas """This is a no-network unit test of the SFTPUserHandler and the abstractions it uses.""" if conch_unavailable_reason: - skip = "SFTP support requires Twisted Conch which is not available: {}".format(e) + skip = "SFTP support requires Twisted Conch which is not available: {}".format( + conch_unavailable_reason, + ) def shouldFailWithSFTPError(self, expected_code, which, callable, *args, **kwargs): assert isinstance(expected_code, int), repr(expected_code)