Skip to content
Snippets Groups Projects
Commit 6f01a382 authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

STY: rename one letter variable

parent e5a041e1
No related branches found
No related tags found
2 merge requests!33MAINT: change arguments of create_user,!21ENH: add json schema validation for config files
Pipeline #14479 passed with warnings
...@@ -517,9 +517,9 @@ def getOriginUrlIn(folder): ...@@ -517,9 +517,9 @@ def getOriginUrlIn(folder):
with open(t.name, "r") as t: with open(t.name, "r") as t:
urlString = "Fetch URL:" urlString = "Fetch URL:"
for l in t.readlines(): for line in t.readlines():
if urlString in l: if urlString in line:
return l[l.find(urlString) + len(urlString):].strip() return line[line.find(urlString) + len(urlString):].strip()
return None return None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment