From 5257f5f554247e607439230acc36e1fac48b0ede Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Sun, 12 Aug 2012 12:49:14 -0400 Subject: [PATCH] Duplication of rstrip unnecessary in link_assets function Thanks for catching AVRS! --- mediagoblin/gmg_commands/theme.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = [] -- 2.25.1