autodetect exception in latest code

"Simon C" <[email protected]>
Newsgroups gmane.comp.mobile.bitpim.devel
Message-ID <000c01c5c7c5$ed400e10$6400a8c0@HOME>
When autodetect a phone with the latest code from cvs I get:

 

An unexpected exception has occurred.

Please see the help for details on what to do.

 

Traceback (most recent call last):

  File "C:\projects\bitpim\gui.py", line 174, in run

    res=call()

  File "C:\projects\bitpim\gui.py", line 114, in __call__

    return apply(self.method, self.args+args, d)

  File "C:\projects\bitpim\gui.py", line 1775, in detectphone

    return phone_detect.DetectPhone(self).detect(using_port)

  File "C:\projects\bitpim\phone_detect.py", line 210, in detect

    module=__import__(pm[model])

  File "C:\projects\bitpim\com_lgpm325.py", line 149

     and self.protocolclass.cal_has_voice_id

     ^

 SyntaxError: invalid syntax

 

The com_lgpm325.py has a blank line between each source line when viewed on
windows, I think this caused the problem.

 

Simon
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.