mirror of
https://github.com/gryf/wicd.git
synced 2025-12-24 15:12:31 +01:00
a proper signature, else we get the error Alex reported
This commit is contained in:
@@ -29,7 +29,7 @@ class SizeError(IOError):
|
||||
""" Custom error class. """
|
||||
pass
|
||||
|
||||
class LogFile(file):
|
||||
class LogFile(name, mode="r", maxsize=-1):
|
||||
"""LogFile(name, [mode="w"], [maxsize=360000])
|
||||
|
||||
Opens a new file object. After writing <maxsize> bytes a SizeError
|
||||
|
||||
Reference in New Issue
Block a user