equal
deleted
inserted
replaced
52 def __init__(self, **entries): |
52 def __init__(self, **entries): |
53 self.synthetic = False |
53 self.synthetic = False |
54 self.__dict__.update(entries) |
54 self.__dict__.update(entries) |
55 |
55 |
56 def __repr__(self): |
56 def __repr__(self): |
57 items = ( |
57 items = ("%s=%r" % (k, self.__dict__[k]) for k in sorted(self.__dict__)) |
58 r"%s=%r" % (k, self.__dict__[k]) for k in sorted(self.__dict__) |
58 return "%s(%s)" % (type(self).__name__, ", ".join(items)) |
59 ) |
|
60 return r"%s(%s)" % (type(self).__name__, r", ".join(items)) |
|
61 |
59 |
62 |
60 |
63 class logerror(Exception): |
61 class logerror(Exception): |
64 pass |
62 pass |
65 |
63 |