Removes extra log_env() call

Don't print all environment variables for every single cmd() call, refs:
https://github.com/kivy/buildozer/pull/802/files#r261844323
Leaves only one `log_env()` call on command failed.
This commit is contained in:
Andre Miras 2019-03-03 00:23:28 +01:00
parent cf880a390c
commit 61182d6b8b

View file

@ -295,7 +295,6 @@ class Buildozer(object):
else: else:
self.debug('Run {0!r} ...'.format(command.split()[0])) self.debug('Run {0!r} ...'.format(command.split()[0]))
self.debug('Cwd {}'.format(kwargs.get('cwd'))) self.debug('Cwd {}'.format(kwargs.get('cwd')))
self.log_env(self.DEBUG, kwargs["env"])
# open the process # open the process
if sys.platform == 'win32': if sys.platform == 'win32':