##// END OF EJS Templates
mdiff: mark diffopts as having dynamic attributes...
Augie Fackler -
r43784:f2f460cd default
parent child Browse files
Show More
@@ -38,6 +38,7 b' textdiff = bdiff.bdiff'
38 38 splitnewlines = bdiff.splitnewlines
39 39
40 40
41 # TODO: this looks like it could be an attrs, which might help pytype
41 42 class diffopts(object):
42 43 '''context is the number of context lines
43 44 text treats all files as text
@@ -52,6 +53,8 b' class diffopts(object):'
52 53 upgrade generates git diffs to avoid data loss
53 54 '''
54 55
56 _HAS_DYNAMIC_ATTRIBUTES = True
57
55 58 defaults = {
56 59 b'context': 3,
57 60 b'text': False,
General Comments 0
You need to be logged in to leave comments. Login now