Commit 7efe6c6d authored by Kai Lautaportti's avatar Kai Lautaportti

Merge pull request #6 from grzn/master

Fixing Recipe.call_script on Windows
parents 5df3fe3f 61fb1a0a
......@@ -70,7 +70,7 @@ class Recipe(object):
See http://pypi.python.org/pypi/z3c.recipe.runscript for details.
"""
filename, callable = script.split(':')
filename, callable = script.rsplit(':', 1)
filename = os.path.abspath(filename)
module = imp.load_source('script', filename)
script = getattr(module, callable.strip())
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment