keryx team mailing list archive
-
keryx team
-
Mailing list archive
-
Message #00096
Re: [Merge] lp:~mac9416/keryx/devel into lp:keryx/devel
> I just ran ./keryx.py sam create and received:
>
> Traceback (most recent call last):
> File "./keryx.py", line 12, in <module>
> import libkeryx
> File "/home/jayhawk/sandbox/keryx/1.0/merge/devel/libkeryx/__init__.py",
> line 41
> return '<gen_table('%s, %s, %s, %s')>' % (self.project, \
> ^
> SyntaxError: invalid syntax
>
> For the __repr__ methods, the return lines have single-quotes for the '<...>'
> so the inner quotes need to be a double-quote or else the '<...>' needs to be
> "<...>"
I also found that libkeryx/__init__.py has get_definitiont. In keryx.py, OnCreate, getDefinition need to be changed to on_create and get_definition.
I forgot to mention to you that you can test the code by using:
./keryx.py <project-name> create
--
https://code.launchpad.net/~mac9416/keryx/devel/+merge/10067
Your team Keryx Development Team is subscribed to branch lp:keryx/devel.
Follow ups
References