test/common_util.py: correct fix to mkdir_nonascii. refs #1472
authordavid-sarah <david-sarah@jacaranda.org>
Wed, 10 Aug 2011 05:19:06 +0000 (22:19 -0700)
committerdavid-sarah <david-sarah@jacaranda.org>
Wed, 10 Aug 2011 05:19:06 +0000 (22:19 -0700)
src/allmydata/test/common_util.py

index 54c4e55e4155cbdcf714c2d2e236da9883e1741e..a3a190c0dda94e3b0c379dac12c16da59b0e2681 100644 (file)
@@ -47,7 +47,7 @@ class NonASCIIPathMixin:
                 finally:
                     log.err("We were unable to delete a non-ASCII directory %r created by the test. "
                             "This is liable to cause failures on future builds." % (dirpath,))
-            self.addCleanup(self._cleanup, dirpath)
+            self.addCleanup(_cleanup)
         os.mkdir(dirpath)
 
     def unicode_or_fallback(self, unicode_name, fallback_name):