What’s wrong with this statement?
This morning I made a code change to log some stuff in a core package and created a pull request, the change was very simple: from
|
1 |
self.execute_command(command, cwd=os.path.dirname(infile)) |
to
|
1 |
logger.debug(self.execute_command(command, cwd=os.path.dirname(infile))) |
One of the team lead pointed out the statement has a problem, and it was a life saver, but I won’t tell you why just yet,… Read More »