Re: [PATCH] fsogsmd: fix handling URCs of the form PREFIX:SUFFIX

2010-07-08 Thread Michael 'Mickey' Lauer
Am Donnerstag, den 08.07.2010, 17:24 +0200 schrieb Antonio Ospite: > The current code assumes that the first character after the ':' > separator can be discarded because it is usually a whitespace, but some > modems can send URCs without a whitespace after the separator and this > would lead to dis

[PATCH] fsogsmd: fix handling URCs of the form PREFIX:SUFFIX

2010-07-08 Thread Antonio Ospite
The current code assumes that the first character after the ':' separator can be discarded because it is usually a whitespace, but some modems can send URCs without a whitespace after the separator and this would lead to discard some info from the actual SUFFIX. Use .strip() in place of .offset( 1