Jiri Daněk created PROTON-2222: ---------------------------------- Summary: Undefined variable `x` in scripts/env.py Key: PROTON-2222 URL: https://issues.apache.org/jira/browse/PROTON-2222 Project: Qpid Proton Issue Type: Bug Components: build Affects Versions: proton-c-0.31.0 Reporter: Jiri Daněk Assignee: Jiri Daněk
{noformat} # pull out each name value pair while len(args): z = args[0].split("=", 1) if len(z) != 2: break # done with env args if len(z[0]) == 0: raise Exception("Error: incorrect format for env var: '%s'" % str(args[x])) > x is not defined. Change its name or define it before using itWhy is this an > issue? > 2 years ago L50 Bug Blocker Open Not assigned 10min effort del args[0] if len(z[1]) == 0: # value is not present, so delete it if z[0] in new_env: del new_env[z[0]] else: new_env[z[0]] = z[1] {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org