Skip to content
Snippets Groups Projects
Verified Commit 6083800e authored by Timm Fitschen's avatar Timm Fitschen
Browse files

Merge branch 'dev' into f-kwargs-to-parameters

parents f4108c9c b12e42d2
Branches
Tags
2 merge requests!33MAINT: change arguments of create_user,!23f kwargs to actual parameters
Pipeline #13639 passed
......@@ -47,7 +47,7 @@ pylint:
tags: [ docker ]
stage: linting
script:
- pylint3 --unsafe-load-any-extension=y -d all -e E,F src/caosdb/common
- pylint --unsafe-load-any-extension=y -d all -e E,F src/caosdb/common
allow_failure: true
......
......@@ -517,9 +517,9 @@ def getOriginUrlIn(folder):
with open(t.name, "r") as t:
urlString = "Fetch URL:"
for l in t.readlines():
if urlString in l:
return l[l.find(urlString) + len(urlString):].strip()
for line in t.readlines():
if urlString in line:
return line[line.find(urlString) + len(urlString):].strip()
return None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment