Version 6.1.4.1, tag libreoffice-6.1.4.1
[LibreOffice.git] / bin / update / get_update_channel.py
blobf94507d6458719cb1d3e2294506e1b563c7d859f
1 #!/usr/bin/python3
2 # -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
4 # This Source Code Form is subject to the terms of the Mozilla Public
5 # License, v. 2.0. If a copy of the MPL was not distributed with this
6 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 import sys
10 from config import parse_config
12 def main():
13 if len(sys.argv) < 2:
14 sys.exit(1)
16 update_config = sys.argv[1]
17 config = parse_config(update_config)
18 print(config.channel)
20 if __name__ == "__main__":
21 main()
23 # vim:set shiftwidth=4 softtabstop=4 expandtab: */