##// END OF EJS Templates
mdiff: remove use of __slots__...
Gregory Szorc -
r29416:30789efb default
parent child Browse files
Show More
@@ -58,10 +58,8 b' class diffopts(object):'
58 'upgrade': False,
58 'upgrade': False,
59 }
59 }
60
60
61 __slots__ = defaults.keys()
62
63 def __init__(self, **opts):
61 def __init__(self, **opts):
64 for k in self.__slots__:
62 for k in self.defaults.keys():
65 v = opts.get(k)
63 v = opts.get(k)
66 if v is None:
64 if v is None:
67 v = self.defaults[k]
65 v = self.defaults[k]
General Comments 0
You need to be logged in to leave comments. Login now