Discussion:
[Bitpim-devel] Re: [bitpim-cvs-checkins] bitpim com_sanyo.py,1.64,1.65
Adit Panchal
2004-12-31 06:33:23 UTC
Permalink
I updated to the latest copy of CVS and I can't download my phonebook
anymore (Sanyo SCP-5500). I believe the culprit was the latest checkin
to com_sanyo.py:

My traceback is as follows:

Traceback (most recent call last):
File "/Users/apanchal/Projects/BitPim/bitpim/gui.py", line 152, in run
res=call()
File "/Users/apanchal/Projects/BitPim/bitpim/gui.py", line 92, in
__call__
return apply(self.method, self.args+args, d)
File "/Users/apanchal/Projects/BitPim/bitpim/gui.py", line 1187, in
getdata
i[1](results)
File "/Users/apanchal/Projects/BitPim/bitpim/com_sanyo.py", line 355,
in getphonebook
if serialsname!='mm7400':
NameError: global name 'serialsname' is not defined

If I am not mistaken, serialsname should be self.serialsname. I made
the respective changes and it works again.There were a few instances of
this and I have fixed the errors in the attached diff.

Adit

Loading...