Permalink
Browse files

Using abspath instead of realpath so it does not dereference symlinks

  • Loading branch information...
1 parent 3ba5c42 commit fe126bf3ea38538683e13e41e50af7a7fd7ad7e1 @ext ext committed Jan 19, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 planet/shell/__init__.py
View
@@ -33,7 +33,7 @@ def run(template_file, doc, mode='template'):
log.info(" %s", os.path.realpath(template_dir))
logged_modes.append(mode)
return
- template_resolved = os.path.realpath(template_resolved)
+ template_resolved = os.path.abspath(template_resolved)
# Add shell directory to the path, if not already there
shellpath = os.path.join(sys.path[0],'planet','shell')

0 comments on commit fe126bf

Please sign in to comment.