diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2012-08-12 12:49:14 -0400 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2012-08-12 12:49:14 -0400 |
commit | 5257f5f554247e607439230acc36e1fac48b0ede (patch) | |
tree | 23f39282059638d0da6344c8cb190d97a0b4bc0e | |
parent | 549000d9911938b88328e15196ff6b3b00fff740 (diff) | |
download | mediagoblin-5257f5f554247e607439230acc36e1fac48b0ede.tar.lz mediagoblin-5257f5f554247e607439230acc36e1fac48b0ede.tar.xz mediagoblin-5257f5f554247e607439230acc36e1fac48b0ede.zip |
Duplication of rstrip unnecessary in link_assets function
Thanks for catching AVRS!
-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 98485bed..fd914a96 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.rstrip(os.path.sep))[0] + link_parent_dir = os.path.split(link_dir)[0] results = [] |