Skip to content

Commit

Permalink
handle the nit from praveen. good point
Browse files Browse the repository at this point in the history
  • Loading branch information
scbedd committed Oct 5, 2020
1 parent 0495246 commit 8f21315
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/devops_tasks/build_packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,12 @@
def str_to_bool(input_string):
if isinstance(input_string, bool):
return input_string
if input_string.lower() in ("true", "t", "1"):
elif input_string.lower() in ("true", "t", "1"):
return True
elif input_string.lower() in ("false", "f", "0"):
return False

else:
return False

def build_packages(targeted_packages, distribution_directory, is_dev_build=False):
# run the build and distribution
Expand Down

0 comments on commit 8f21315

Please sign in to comment.