diff options
author | Ian Cordasco <graffatcolmingov@gmail.com> | 2013-07-25 20:13:07 -0500 |
---|---|---|
committer | Ian Cordasco <graffatcolmingov@gmail.com> | 2013-07-25 20:13:07 -0500 |
commit | 1d31a37d9930bf5ab76d5e4155c8a43a490e4103 (patch) | |
tree | 76fd90419e3aa340579547826fadd7386759f918 /uritemplate | |
parent | d69fe208928781d0b6a79a4a579769dae1d9fa40 (diff) | |
download | uritemplates-1d31a37d9930bf5ab76d5e4155c8a43a490e4103.tar.gz |
Better repr
Diffstat (limited to 'uritemplate')
-rw-r--r-- | uritemplate/template.py | 2 |
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 |