aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2013-05-23 13:12:20 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2013-05-23 13:33:08 -0500
commit9230968f7e20f6ab8b31c1af7b2f7ab9adc24e51 (patch)
tree7431b38bfb2badfab9d92c2931881caf0405675a
parent247759caa7d0f583bfae5a3f97aadaebb2e77fb7 (diff)
downloadmediagoblin-9230968f7e20f6ab8b31c1af7b2f7ab9adc24e51.tar.lz
mediagoblin-9230968f7e20f6ab8b31c1af7b2f7ab9adc24e51.tar.xz
mediagoblin-9230968f7e20f6ab8b31c1af7b2f7ab9adc24e51.zip
Cleaning a bit: os.path.sep.join -> os.path.join
-rw-r--r--mediagoblin/gmg_commands/assetlink.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mediagoblin/gmg_commands/assetlink.py b/mediagoblin/gmg_commands/assetlink.py
index ec2c9c2c..148ebe9e 100644
--- a/mediagoblin/gmg_commands/assetlink.py
+++ b/mediagoblin/gmg_commands/assetlink.py
@@ -98,8 +98,8 @@ def link_plugin_assets(plugin_static, plugins_link_dir, printer=simple_printer):
"""
# link_dir is the final directory we'll link to, a combination of
# the plugin assetlink directory and plugin_static.name
- link_dir = os.path.sep.join(
- [plugins_link_dir.rstrip(os.path.sep), plugin_static.name])
+ link_dir = os.path.join(
+ plugins_link_dir.rstrip(os.path.sep), plugin_static.name)
# make the link directory parent dirs if necessary
if not os.path.lexists(plugins_link_dir):