Merge pull request #549 from tahoe-lafs/2971.super-argument-order

Fix super() argument order

Fixes: ticket:2971
This commit is contained in:
Jean-Paul Calderone 2019-02-18 09:53:05 -05:00 committed by GitHub
commit 6f7e1250e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -256,7 +256,7 @@ class FileShouldVanishException(Exception):
timeout
"""
def __init__(self, path, timeout):
super(self, FileShouldVanishException).__init__(
super(FileShouldVanishException, self).__init__(
u"'{}' still exists after {}s".format(path, timeout),
)

1
newsfragments/2971.other Normal file
View File

@ -0,0 +1 @@
A misuse of super() in the integration tests has been fixed.