replaced os.path.split()[0] with os.path.dirname() and corrected a couple of comments

This commit is contained in:
Aleksej
2012-08-13 16:07:58 +04:00
parent 5257f5f554
commit 9d3e56d500
2 changed files with 3 additions and 3 deletions

View File

@@ -50,7 +50,7 @@ def link_assets(theme, link_dir, printer=simple_printer):
which should be printable.
"""
link_dir = link_dir.rstrip(os.path.sep)
link_parent_dir = os.path.split(link_dir)[0]
link_parent_dir = os.path.dirname(link_dir)
results = []