From 157298bb808a943616991927f9370a86c1f2ca48 Mon Sep 17 00:00:00 2001 From: Lukas Date: Wed, 20 Apr 2022 19:54:39 +0200 Subject: android and bin/update: make pythonic Change-Id: Iaf791bfa8d9822843b26f2a2f2c3d94c55a60a0b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133358 Reviewed-by: Arkadiy Illarionov Tested-by: Ilmari Lauhakangas Reviewed-by: Ilmari Lauhakangas --- bin/update/get_update_channel.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin/update/get_update_channel.py') diff --git a/bin/update/get_update_channel.py b/bin/update/get_update_channel.py index f94507d64587..4215f8054b10 100755 --- a/bin/update/get_update_channel.py +++ b/bin/update/get_update_channel.py @@ -9,6 +9,7 @@ import sys from config import parse_config + def main(): if len(sys.argv) < 2: sys.exit(1) @@ -17,6 +18,7 @@ def main(): config = parse_config(update_config) print(config.channel) + if __name__ == "__main__": main() -- cgit