aboutsummaryrefslogtreecommitdiff
path: root/uritemplate
diff options
context:
space:
mode:
authorIan Cordasco <graffatcolmingov@gmail.com>2013-07-25 20:13:07 -0500
committerIan Cordasco <graffatcolmingov@gmail.com>2013-07-25 20:13:07 -0500
commit1d31a37d9930bf5ab76d5e4155c8a43a490e4103 (patch)
tree76fd90419e3aa340579547826fadd7386759f918 /uritemplate
parentd69fe208928781d0b6a79a4a579769dae1d9fa40 (diff)
downloaduritemplates-1d31a37d9930bf5ab76d5e4155c8a43a490e4103.tar.gz
Better repr
Diffstat (limited to 'uritemplate')
-rw-r--r--uritemplate/template.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/uritemplate/template.py b/uritemplate/template.py
index 9090961..7a4f94f 100644
--- a/uritemplate/template.py
+++ b/uritemplate/template.py
@@ -70,7 +70,7 @@ class URITemplate(object):
self.variable_names.update(variable.variable_names)
def __repr__(self):
- return 'URITemplate(%s)' % self
+ return 'URITemplate("%s")' % self
def __str__(self):
return self.uri