[debian/shr apps] call list?

Sebastian Krzyszkowiak seba.dos1 at gmail.com
Thu Jan 21 23:11:36 CET 2010


On 1/21/10, arne anka <openmoko at ginguppin.de> wrote:
>> Try "pyphonelog", it reads the call history from opimd.
>
> the one currently in pkg-fso seems unable to cope with the format opimd
> delivers, but the one in the shr feeds works better.
> "better" meaning, it does not start by default due to
> $ phonelog
> /usr/bin/phonelog:758: Warning: 'with' will become a reserved keyword in
> Python 2.6
>    File "/usr/bin/phonelog", line 758
>      with open(CONFIGURATION_FILE,'w+') as f:
>              ^
> SyntaxError: invalid syntax
>
> i don't quite understand, why a warning will produce a "syntax error" and
> moreover, why the very same lines (the last two) in the debian version
> work.
> for the moment i commented those two lines, but since phonelog depends on
> it to determine new calls, it is not a viable solution.
>
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>

That's just python2.6 syntax, and you're using python2.5. I'll try to
look tommorow to make pyphonelog compatible with python2.5,

-- 
Sebastian Krzyszkowiak
dos



More information about the community mailing list