summaryrefslogtreecommitdiff
path: root/tokens.py
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2018-08-09 12:31:49 +0200
committerAnthon van der Neut <anthon@mnt.org>2018-08-09 12:31:49 +0200
commitfaca9e30b5ee86582cb7e996f963e1aee0f5f4ad (patch)
treec0405132a28711d7c13c0843e21a00491a42d3cf /tokens.py
parent99fec98f4a16e3e94ef73dd922f737785d881a5a (diff)
downloadruamel.yaml-faca9e30b5ee86582cb7e996f963e1aee0f5f4ad.tar.gz
fix issue #175 exception while raising error
Diffstat (limited to 'tokens.py')
-rw-r--r--tokens.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tokens.py b/tokens.py
index 54a8bd7..72c4f48 100644
--- a/tokens.py
+++ b/tokens.py
@@ -74,7 +74,7 @@ class Token(object):
# nprint('mco2:', self, target, target.comment, empty)
return self
if c[0] and tc[0] or c[1] and tc[1]:
- raise NotImplementedError('overlap in comment %r %r' % c, tc)
+ raise NotImplementedError('overlap in comment %r %r' % (c, tc))
if c[0]:
tc[0] = c[0]
if c[1]: