Comment 2 for bug 384486

Revision history for this message
Andreas Hausmann (ahsorrytigger-ubuntu) wrote :

The error occurs in python2.3 while compiling fstab.py

The line 103 is a form of <dict>.update(), that is supported only by python2.4 and later releases.

Proper syntax for python2.3 is:
line 103: self.dict.update(dict([(attr, match.group(attr)) for attr in self.attrs]))
line 105: self.dict.update(dict([(attr, None) for attr in self.attrs]))
line 110: return "".join([self.dict[attr] for attr in self.attrs])