##// END OF EJS Templates
patch: simplify Boolean expression slightly...
Martin Geisler -
r8526:f78eadbb default
parent child Browse files
Show More
@@ -870,7 +870,7 b' def iterhunks(ui, fp, sourcefile=None):'
870 870 current_hunk = None
871 871 gitworkdone = False
872 872 if ((sourcefile or state == BFILE) and ((not context and x[0] == '@') or
873 ((context or context == None) and x.startswith('***************')))):
873 ((context is not False) and x.startswith('***************')))):
874 874 try:
875 875 if context == None and x.startswith('***************'):
876 876 context = True
General Comments 0
You need to be logged in to leave comments. Login now