[Kde-games-devel] moved Kajongg from playground to kdereview

Wolfgang Rohdewald wolfgang at rohdewald.de
Mon Feb 22 14:11:20 GMT 2010


On Monday 22 February 2010, Pedro Lopez-Cabanillas wrote:
> $ kajongg
> Traceback (most recent call last):
>   File "/usr/bin/kajongg", line 46, in <module>
>     assert sys.argv,  'after KCmdLineArgs.init'
> AssertionError: after KCmdLineArgs.init

so KCmdLineArgs.init() clears sys.argv, even
the first element.

That seems undocumented at 
http://api.kde.org/4.x-api/kdelibs-apidocs/kdecore/html/classKCmdLineArgs.html

or it is a bug in PyKDE4.

anyway I now committed a different solution, avoiding this.

-- 
Wolfgang




More information about the kde-core-devel mailing list