##// END OF EJS Templates
mq: don't reimplement any()...
Martin von Zweigbergk -
r36360:02c35e64 default
parent child Browse files
Show More
@@ -553,10 +553,8 b' class queue(object):'
553 553 for patchfn in patches:
554 554 patchf = self.opener(patchfn, 'r')
555 555 # if the patch was a git patch, refresh it as a git patch
556 for line in patchf:
557 if line.startswith('diff --git'):
558 diffopts.git = True
559 break
556 diffopts.git = any(line.startswith('diff --git')
557 for line in patchf)
560 558 patchf.close()
561 559 return diffopts
562 560
General Comments 0
You need to be logged in to leave comments. Login now