[Bug 563019] Re: telepathy-butterfly crashed with ValueError in __parse()

William Grant me at williamgrant.id.au
Wed Apr 14 13:26:34 UTC 2010


*** This bug is a duplicate of bug 558493 ***
    https://bugs.launchpad.net/bugs/558493

Adding an emptiness check like this fixes it:

    def __parse(self, format):
        for property in format.split(';'):
            if not property:
                continue
            key, value =  [p.strip(' \t|').upper() \
                    for p in property.split('=', 1)]

-- 
telepathy-butterfly crashed with ValueError in __parse()
https://bugs.launchpad.net/bugs/563019
You received this bug notification because you are a member of
Telepathy, which is subscribed to telepathy-butterfly in ubuntu.




More information about the Ubuntu-telepathy mailing list