[ 
https://issues.apache.org/jira/browse/PROTON-2222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiri Daněk resolved PROTON-2222.
--------------------------------
    Fix Version/s: proton-c-0.32.0
       Resolution: Fixed

> 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
>            Priority: Major
>             Fix For: proton-c-0.32.0
>
>
> {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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to