mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
python lint
This commit is contained in:
@@ -1260,7 +1260,7 @@ class PithyaProperty(Text):
|
||||
Determines whether the file is in .pithya.property format
|
||||
"""
|
||||
content = open(file_prefix.filename, "r").read()
|
||||
if re.search(":\?[a-zA-Z0-9_]+[ ]*=", content) is not None:
|
||||
if re.search(r":\?[a-zA-Z0-9_]+[ ]*=", content) is not None:
|
||||
return True
|
||||
return False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user