aboutsummaryrefslogtreecommitdiff
path: root/uritemplate/variable.py
diff options
context:
space:
mode:
authorIan Cordasco <graffatcolmingov@gmail.com>2013-07-25 21:22:12 -0500
committerIan Cordasco <graffatcolmingov@gmail.com>2013-07-25 21:22:12 -0500
commit097f44bd866afaf71e196b599604711f5e3a8a18 (patch)
tree863f20a3aab6cbb049e1286511bed4fcfa16668d /uritemplate/variable.py
parentafb682462dc2ae20d55b00d84fa84e60d75fb199 (diff)
downloaduritemplates-097f44bd866afaf71e196b599604711f5e3a8a18.tar.gz
Fix URIVariable.post_parse
Diffstat (limited to 'uritemplate/variable.py')
-rw-r--r--uritemplate/variable.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/uritemplate/variable.py b/uritemplate/variable.py
index 48d7497..93bd736 100644
--- a/uritemplate/variable.py
+++ b/uritemplate/variable.py
@@ -120,6 +120,7 @@ class URIVariable(object):
After parsing the variable, we need to set up these attributes and it
only makes sense to do it in a more easily testable way.
"""
+ self.safe = ''
self.start = self.join_str = self.operator
if self.operator == '+':
self.start = ''