Using reposurgeon
and trying to extend its functionality, I am faced with:
reposurgeon: invalid syntax in extension function
which translates to a SyntaxError
extension raised from the execfile()
call in RepoSurgeon.do_exec()
. What gives? The code I am trying to exec
is as simple as:
print "Hello world"
I have also used the Python CLI and execfile
and there are no complaints whatsoever?
Used version: reposurgeon
3.10