##// END OF EJS Templates
extdata: just use iterator to read lines one by one
Yuya Nishihara -
r34461:910adadf default
parent child Browse files
Show More
@@ -1052,7 +1052,7 b' def extdatasource(repo, source):'
1052 src = url.open(repo.ui, spec)
1052 src = url.open(repo.ui, spec)
1053
1053
1054 try:
1054 try:
1055 for l in src.readlines():
1055 for l in src:
1056 if " " in l:
1056 if " " in l:
1057 k, v = l.strip().split(" ", 1)
1057 k, v = l.strip().split(" ", 1)
1058 else:
1058 else:
General Comments 0
You need to be logged in to leave comments. Login now