Skip to content

Commit

Permalink
Merge pull request #6 from grzn/master
Browse files Browse the repository at this point in the history
Fixing Recipe.call_script on Windows
  • Loading branch information
dokai committed May 21, 2012
2 parents 5df3fe3 + 61fb1a0 commit 7efe6c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hexagonit/recipe/cmmi/__init__.py
Expand Up @@ -70,7 +70,7 @@ def call_script(self, script):
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())
Expand Down

0 comments on commit 7efe6c6

Please sign in to comment.