Syntax Error chroniker_tags.py line 34: python 3.4.2
Closed this issue · 2 comments
rtheed commented
Raised syntax error on line 34: chroniker_tags.py. On a clean install with python 3.4.2.
I edited the line as follows:
try:
# Splitting by None == splitting by spaces.
tag_name, object_id = token.contents.split(None, 1)
except ValueError:
# line below causing syntax error python 3.4.2
# raise template.TemplateSyntaxError, "%r tag requires one argument" % token.contents.split()[0]
raise template.TemplateSyntaxError
return RunJobURLNode(object_id)
chrisspen commented
Thanks, I've confirmed this. I don't formally support 3.4, but I'll add it to my test harness for the next release.
chrisspen commented
I've committed a fix for this in the 0.8.0 release.