diff options
author | Gabriel Curio <g.curio@gmail.com> | 2017-11-30 20:37:09 -0600 |
---|---|---|
committer | Xavier Fernandez <xav.fernandez@gmail.com> | 2017-12-02 15:50:03 +0100 |
commit | ce674d2ca1dfae136fb33df914085e56d100bc57 (patch) | |
tree | 504b83efdb850f14e5c72b41a9289ce572c52051 /news | |
parent | fc6b2c192088737f81259b6446f627f20ce46443 (diff) | |
download | pip-ce674d2ca1dfae136fb33df914085e56d100bc57.tar.gz |
Fix unassigned variable.
In the event of an error, 'req' will be unassigned. This will cause another error in the exception.
Replace 'req' with 'name.'
Diffstat (limited to 'news')
-rw-r--r-- | news/4811.bugfix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/news/4811.bugfix b/news/4811.bugfix new file mode 100644 index 000000000..c8d11838b --- /dev/null +++ b/news/4811.bugfix @@ -0,0 +1,2 @@ +Fix an issue where a variable assigned in a try clause was accessed in the except clause, resulting in an undefined +variable error in the except clause. |