1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-14 02:50:12 +01:00

Always run normpath on cwd in FDroidPopen

This commit is contained in:
Daniel Martí 2014-02-10 17:44:31 +01:00
parent 1e80ebef6d
commit ff87af1933

View File

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