diff options
author | Aleksej <deletesoftware@example.com> | 2012-08-13 16:07:58 +0400 |
---|---|---|
committer | Aleksej <deletesoftware@example.com> | 2012-08-13 16:07:58 +0400 |
commit | 9d3e56d500544b8886e3768a30b85e30cbd70e1f (patch) | |
tree | da1b2f1c00b124857751487f2420ad453a10edd8 /mediagoblin/gmg_commands | |
parent | 5257f5f554247e607439230acc36e1fac48b0ede (diff) | |
download | mediagoblin-9d3e56d500544b8886e3768a30b85e30cbd70e1f.tar.lz mediagoblin-9d3e56d500544b8886e3768a30b85e30cbd70e1f.tar.xz mediagoblin-9d3e56d500544b8886e3768a30b85e30cbd70e1f.zip |
replaced os.path.split()[0] with os.path.dirname() and corrected a couple of comments
Diffstat (limited to 'mediagoblin/gmg_commands')
-rw-r--r-- | mediagoblin/gmg_commands/theme.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/gmg_commands/theme.py b/mediagoblin/gmg_commands/theme.py index fd914a96..71abb982 100644 --- a/mediagoblin/gmg_commands/theme.py +++ b/mediagoblin/gmg_commands/theme.py @@ -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 = [] |