fixed python syntax

This commit is contained in:
Sean-M 2013-02-21 10:53:14 -05:00
parent 73d38769b9
commit 3125860f08

View File

@ -403,7 +403,7 @@ def run_config_test(config_file):
pid = subprocess.Popen(nxtproc, pid = subprocess.Popen(nxtproc,
stdout=subprocess.PIPE) stdout=subprocess.PIPE)
sys.exit() sys.exit()
for img in images for img in images:
run_test(img, 0 ) run_test(img, 0 )
else: else:
for img in values: for img in values:
@ -1612,7 +1612,7 @@ def send_email():
global errorem global errorem
global attachl global attachl
global html global html
if(not args.config) if(not args.config):
sys.exit() sys.exit()
element = parsed.getElementsByTagName("email")[0] element = parsed.getElementsByTagName("email")[0]
toval = element.getAttribute("value").encode().decode("utf-8") toval = element.getAttribute("value").encode().decode("utf-8")