comparison sat_frontends/bridge/bridge_frontend.py @ 2765:378188abe941

misc: replaced all "dummy" by the more conventional and readable "__" ("_" being used for gettext)
author Goffi <goffi@goffi.org>
date Fri, 11 Jan 2019 11:13:15 +0100
parents 56f94936df1e
children 003b8b4b56a7
comparison
equal deleted inserted replaced
2764:92af49cde255 2765:378188abe941
30 """ 30 """
31 Exception.__init__(self) 31 Exception.__init__(self)
32 self.fullname = unicode(name) 32 self.fullname = unicode(name)
33 self.message = unicode(message) 33 self.message = unicode(message)
34 self.condition = unicode(condition) if condition else "" 34 self.condition = unicode(condition) if condition else ""
35 self.module, dummy, self.classname = unicode(self.fullname).rpartition(".") 35 self.module, __, self.classname = unicode(self.fullname).rpartition(".")
36 36
37 def __str__(self): 37 def __str__(self):
38 message = (": %s" % self.message) if self.message else "" 38 message = (": %s" % self.message) if self.message else ""
39 return self.classname + message 39 return self.classname + message
40 40