Example #1
0
 def __init__(self, virtual_url_fragment, reason=None):
     BzrError.__init__(self)
     self.virtual_url_fragment = virtual_url_fragment
     if reason is not None:
         self.reason = str(reason)
     else:
         self.reason = ''
Example #2
0
 def __init__(self, virtual_url_fragment, reason=None):
     BzrError.__init__(self)
     self.virtual_url_fragment = virtual_url_fragment
     if reason is not None:
         self.reason = str(reason)
     else:
         self.reason = ''
Example #3
0
 def __init__(self, msg):
     BzrError.__init__(self)
     self.msg = msg
Example #4
0
 def __init__(self, command):
     BzrError.__init__(
         self, "The command %s is blacklisted for shell use" % command)
Example #5
0
 def __init__(self, command):
     BzrError.__init__(self, "The command %s is blacklisted for shell use" %
                       command)
Example #6
0
 def __init__(self, fileid, revid):
     BzrError.__init__(self)
     self.fileid = fileid
     self.revid = revid