1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-13 02:30:11 +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.
"""
cwd = os.path.normpath(cwd)
if output:
if cwd:
logging.info("Directory: %s" % cwd)