Remove future warning revealed by using future print function.
This commit is contained in:
parent
2a00de2bb5
commit
5b7971860e
@ -1030,7 +1030,7 @@ class StagingAPI(object):
|
||||
prjmeta = ET.parse(http_GET(url)).getroot()
|
||||
|
||||
flagxml = prjmeta.find(flag)
|
||||
if not flagxml: # appending is fine
|
||||
if flagxml is None:
|
||||
flagxml = ET.SubElement(prjmeta, flag)
|
||||
|
||||
foundone = False
|
||||
|
Loading…
x
Reference in New Issue
Block a user