changeset 169:dc6676d3b697 trunk

Fix syntax error in `path` module.
author cmlenz
date Fri, 18 Aug 2006 11:37:40 +0000
parents 5f538e761701
children 6b265e02d099
files ChangeLog markup/path.py
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -30,6 +30,7 @@
    constants and complex expressions (they only worked for string or number
    literals before).
 
+
 Version 0.1
 http://svn.edgewall.org/repos/markup/tags/0.1.0/
 (Aug 3 2006, from branches/stable/0.1.x)
--- a/markup/path.py
+++ b/markup/path.py
@@ -567,7 +567,7 @@
             strings.append(item)
         return u''.join(strings)
     def __repr__(self):
-        return 'concat(%s)' % [repr(expr for expr in self.exprs)]
+        return 'concat(%s)' % ', '.join([repr(expr) for expr in self.exprs])
 
 class ContainsFunction(Function):
     """The `contains` function, which returns whether a string contains a given
Copyright (C) 2012-2017 Edgewall Software