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:
2c8df2c
)
Fix popen command logging
author
Ciaran Gultnieks
<ciaran@ciarang.com>
Wed, 25 Jun 2014 08:25:47 +0000
(09:25 +0100)
committer
Ciaran Gultnieks
<ciaran@ciarang.com>
Wed, 25 Jun 2014 08:25:55 +0000
(09:25 +0100)
fdroidserver/common.py
patch
|
blob
|
history
diff --git
a/fdroidserver/common.py
b/fdroidserver/common.py
index a59137548ef3c03232917a5e1656e043c9934f14..e2e64cebe4d253009d4b88f426d3f0244ccd7df5 100644
(file)
--- a/
fdroidserver/common.py
+++ b/
fdroidserver/common.py
@@
-1585,11
+1585,10
@@
def FDroidPopen(commands, cwd=None, shell=False, output=True):
:returns: A PopenResult.
"""
- if output:
- if cwd:
- cwd = os.path.normpath(cwd)
- logging.info("Directory: %s" % cwd)
- logging.info("> %s" % ' '.join(commands))
+ if cwd:
+ cwd = os.path.normpath(cwd)
+ logging.debug("Directory: %s" % cwd)
+ logging.debug("> %s" % ' '.join(commands))
result = PopenResult()
p = subprocess.Popen(commands, cwd=cwd, shell=shell,