Remove more prints in favour of logging

This commit is contained in:
Daniel Martí 2014-07-03 00:35:43 +02:00
parent 6e515ed34e
commit a67d80a011

View file

@ -1340,10 +1340,10 @@ def prepare_source(vcs, app, build, build_dir, srclib_dir, extlib_dir, onserver=
for d in update_dirs: for d in update_dirs:
subdir = os.path.join(root_dir, d) subdir = os.path.join(root_dir, d)
if d == '.': if d == '.':
print("Updating main project") logging.info("Updating main project")
cmd = parms + ['-p', d] cmd = parms + ['-p', d]
else: else:
print("Updating subproject %s" % d) logging.info("Updating subproject %s" % d)
cmd = lparms + ['-p', d] cmd = lparms + ['-p', d]
p = FDroidPopen(cmd, cwd=root_dir) p = FDroidPopen(cmd, cwd=root_dir)
# Check to see whether an error was returned without a proper exit # Check to see whether an error was returned without a proper exit