##// END OF EJS Templates
grep: remove useless while condition...
Kevin Bullock -
r17949:40720926 stable
parent child Browse files
Show More
@@ -2935,7 +2935,7 b' def grep(ui, repo, pattern, *pats, **opt'
2935 def matchlines(body):
2935 def matchlines(body):
2936 begin = 0
2936 begin = 0
2937 linenum = 0
2937 linenum = 0
2938 while True and begin < len(body):
2938 while begin < len(body):
2939 match = regexp.search(body, begin)
2939 match = regexp.search(body, begin)
2940 if not match:
2940 if not match:
2941 break
2941 break
General Comments 0
You need to be logged in to leave comments. Login now