chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e89e68
)
Don't crash if cwd==None
author
Daniel Martí
<mvdan@mvdan.cc>
Mon, 10 Feb 2014 19:17:48 +0000
(20:17 +0100)
committer
Daniel Martí
<mvdan@mvdan.cc>
Mon, 10 Feb 2014 19:17:48 +0000
(20:17 +0100)
fdroidserver/common.py
patch
|
blob
|
history
diff --git
a/fdroidserver/common.py
b/fdroidserver/common.py
index 330b1271c8f89ac72d89af72586ed943188b9be4..0655e33f14bf9cfea1e703dac4d8e7743411efda 100644
(file)
--- a/
fdroidserver/common.py
+++ b/
fdroidserver/common.py
@@
-1385,7
+1385,8
@@
def FDroidPopen(commands, cwd=None, output=True):
:returns: A PopenResult.
"""
- cwd = os.path.normpath(cwd)
+ if cwd:
+ cwd = os.path.normpath(cwd)
if output:
if cwd: