Skip to content

Commit

Permalink
bugfix bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
lck committed Apr 20, 2012
1 parent c0ba56b commit 8afe330
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions collective/recipe/omelette/utils.py
Expand Up @@ -9,10 +9,10 @@

islink = ntfsutils.junction.isjunction

def symlink(path):
if not os.path.isdir(path):
def symlink(source, link_name):
if not os.path.isdir(source):
return
ntfsutils.junction.create(path)
ntfsutils.junction.create(source, link_name)

def unlink(path):
if not ntfsutils.junction.isjunction(path):
Expand Down

0 comments on commit 8afe330

Please sign in to comment.