/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/util/configobj/configobj.py

  • Committer: Vincent Ladeuil
  • Date: 2008-09-29 08:11:07 UTC
  • mfrom: (3734.2.12 py26-compat)
  • mto: This revision was merged to the branch mainline in revision 3751.
  • Revision ID: v.ladeuil+lp@free.fr-20080929081107-eyfv73oy7jgjio0m
Fix python-2.6 various compatibility issues

Show diffs side-by-side

added added

removed removed

Lines of Context:
250
250
    This is the base class for all errors that ConfigObj raises.
251
251
    It is a subclass of SyntaxError.
252
252
    """
253
 
    def __init__(self, message='', line_number=None, line=''):
 
253
    def __init__(self, msg='', line_number=None, line=''):
254
254
        self.line = line
255
255
        self.line_number = line_number
256
 
        self.message = message
257
 
        SyntaxError.__init__(self, message)
 
256
        self.msg = msg
 
257
        SyntaxError.__init__(self, msg)
258
258
 
259
259
 
260
260
class NestingError(ConfigObjError):