aboutsummaryrefslogtreecommitdiffstats
path: root/uritemplate/variable.py
diff options
context:
space:
mode:
Diffstat (limited to 'uritemplate/variable.py')
-rw-r--r--uritemplate/variable.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/uritemplate/variable.py b/uritemplate/variable.py
index 077ad21..a17c2e1 100644
--- a/uritemplate/variable.py
+++ b/uritemplate/variable.py
@@ -112,7 +112,7 @@ class URIVariable(object):
(name, {'explode': explode, 'prefix': prefix})
)
- self.variable_names = [name for (name, _) in self.variables]
+ self.variable_names = [varname for (varname, _) in self.variables]
def post_parse(self):
"""Set ``start``, ``join_str`` and ``safe`` attributes.