Skip to content

Commit

Permalink
Fix typy in fix (microsoft#740)
Browse files Browse the repository at this point in the history
  • Loading branch information
hestolz authored Sep 15, 2020
1 parent 4589dae commit 4fb0a62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions LCM/scripts/OMS_MetaConfigHelper.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,8 @@ def source_file(filename):
else:
set_metaconfig_success_string = "ReturnValue=0"

# This file is only for python 2
if ((exit_code == 0) and (stderr == '' or (sys.version_info >= (3, 0) and stderr.decode(encoding = 'UTF-8') == '') and (set_metaconfig_success_string in str(stdout))):
# This file is only for python 2
if ((exit_code == 0) and (stderr == '' or (sys.version_info >= (3, 0) and stderr.decode(encoding = 'UTF-8') == '') and (set_metaconfig_success_string in str(stdout)))):
printVerboseMessage('Successfully configured omsconfig.')
else:
if exit_code == 0:
Expand Down

0 comments on commit 4fb0a62

Please sign in to comment.