Exemple #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 = ''
 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 = ''
Exemple #3
0
 def __init__(self, msg):
     BzrError.__init__(self)
     self.msg = msg
Exemple #4
0
 def __init__(self, command):
     BzrError.__init__(
         self, "The command %s is blacklisted for shell use" % command)
 def __init__(self, command):
     BzrError.__init__(self, "The command %s is blacklisted for shell use" %
                       command)
Exemple #6
0
 def __init__(self, fileid, revid):
     BzrError.__init__(self)
     self.fileid = fileid
     self.revid = revid