Commit d1356e2d authored by Cristiano Urban's avatar Cristiano Urban
Browse files

Fixed wrong syntax in 'if' statement.

parent 2d27caf4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -35,11 +35,11 @@ class AMQPClient(object):

if len(sys.argv) == 2:
    script, queue = sys.argv
    if queue not "start_job_queue":
    if queue != "start_job_queue":
        sys.exit("FATAL: wrong number of input args.")  
elif len(sys.argv) == 3:
    script, queue, jobid = sys.argv
    if queue not "poll_job_queue":
    if queue != "poll_job_queue":
        sys.exit("FATAL: wrong number of input args.")
else:
    sys.exit("FATAL: wrong number of input args.")