Set the default value for the variable VALGRIN to empty

This commit is contained in:
LeoHsiao 2020-10-22 22:14:51 +08:00
parent aa462f84d9
commit da919e3d68
2 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@ class Config:
exiv2_port = '12760'
exiv2_echo = ''
verbose = ''
valgrind = '++'
valgrind = ''
@classmethod
def init(cls):
@ -462,7 +462,7 @@ class Executer:
def run(self):
# Whether to display the command to execute
if Config.exiv2_echo or Config.verbose:
print(Config.valgrind, ' '.join(self.args))
print('++', ' '.join(self.args))
# Check stdout
if self.redirect_stderr_to_stdout:

View File

@ -20,7 +20,7 @@ exiv2_http: http://127.0.0.1
exiv2_port: 12760
exiv2_echo:
verbose:
valgrind: ++
valgrind:
[paths]
exiv2: ${ENV:exiv2_path}/exiv2