[debian/shr apps] call list?
elektranox at gmail.com
Thu Jan 21 23:56:26 CET 2010
On Thu, Jan 21, 2010 at 11:11:36PM +0100, Sebastian Krzyszkowiak wrote:
> 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,
ah, I'm sorry I forgot to upload the patched package. I didn't
notice so far, since nobody ever complained about it. You can
add with support in python2.5 by inserting the following
somewhere at the top:
from __future__ import with_statement
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
Url : http://lists.openmoko.org/pipermail/community/attachments/20100121/6cf4eddf/attachment.pgp
More information about the community