mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Oops, forgot this guy.
This commit is contained in:
parent
0ab86752a7
commit
c43947ce63
@ -32,8 +32,10 @@
|
||||
__revision__ = "$Id$"
|
||||
|
||||
class Reader(object):
|
||||
def __init__(self, Creator):
|
||||
def __init__(self, Creator, *args, **kwargs):
|
||||
self.Creator = Creator
|
||||
self.args = args
|
||||
self.kwargs = kwargs
|
||||
self.creator = None
|
||||
self.modifiedCreator = False
|
||||
self.indent = None
|
||||
@ -58,7 +60,7 @@ class Reader(object):
|
||||
# New indentation level.
|
||||
if self.creator is not None:
|
||||
self.creator.finish()
|
||||
self.creator = self.Creator()
|
||||
self.creator = self.Creator(*self.args, **self.kwargs)
|
||||
self.modifiedCreator = False
|
||||
self.indent = indent
|
||||
(command, rest) = s.split(None, 1)
|
||||
|
Loading…
Reference in New Issue
Block a user