From ff87af19331b11807f318a0ccd9c1c2a6a320e6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Mon, 10 Feb 2014 17:44:31 +0100 Subject: [PATCH] Always run normpath on cwd in FDroidPopen --- fdroidserver/common.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fdroidserver/common.py b/fdroidserver/common.py index d9721d8c..8e2e6054 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -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)