chiark / gitweb /
Always run normpath on cwd in FDroidPopen
authorDaniel Martí <mvdan@mvdan.cc>
Mon, 10 Feb 2014 16:44:31 +0000 (17:44 +0100)
committerDaniel Martí <mvdan@mvdan.cc>
Mon, 10 Feb 2014 16:44:31 +0000 (17:44 +0100)
fdroidserver/common.py

index d9721d8c0f622075fa9688a8dc700eee3fcd8855..8e2e6054cdaeb0effbf17f492e1d3fd14c1c165c 100644 (file)
@@ -1385,6 +1385,8 @@ def FDroidPopen(commands, cwd=None, output=True):
     :returns: A PopenResult.
     """
 
+    cwd = os.path.normpath(cwd)
+
     if output:
         if cwd:
             logging.info("Directory: %s" % cwd)