[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2971: FileShouldVanishException mis-uses super()
Tahoe-LAFS
trac at tahoe-lafs.org
Fri Feb 15 18:57:10 UTC 2019
#2971: FileShouldVanishException mis-uses super()
-------------------------------------------------+-------------------------
Reporter: exarkun | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
| undecided
Component: unknown | Version: 1.12.1
Keywords: magic-folder, test, dev- | Launchpad Bug:
infrastructure |
-------------------------------------------------+-------------------------
{{{
class FileShouldVanishException(Exception):
"""
A file or files we expected to disappear did not within the
timeout
"""
def __init__(self, path, timeout):
super(self, FileShouldVanishException).__init__(
u"'{}' still exists after {}s".format(path, timeout),
)
}}}
The super() call has its arguments reversed.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2971>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list