Mercurial > libervia-backend
comparison sat/bridge/bridge_constructor/constants.py @ 2624:56f94936df1e
code style reformatting using black
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 27 Jun 2018 20:14:46 +0200 |
parents | 26edcf3a30eb |
children | 003b8b4b56a7 |
comparison
equal
deleted
inserted
replaced
2623:49533de4540b | 2624:56f94936df1e |
---|---|
1 #!/usr/bin/env python2 | 1 #!/usr/bin/env python2 |
2 #-*- coding: utf-8 -*- | 2 # -*- coding: utf-8 -*- |
3 | 3 |
4 # SàT: a XMPP client | 4 # SàT: a XMPP client |
5 # Copyright (C) 2009-2018 Jérôme Poisson (goffi@goffi.org) | 5 # Copyright (C) 2009-2018 Jérôme Poisson (goffi@goffi.org) |
6 | 6 |
7 # This program is free software: you can redistribute it and/or modify | 7 # This program is free software: you can redistribute it and/or modify |
29 This script construct a SàT bridge using the given protocol | 29 This script construct a SàT bridge using the given protocol |
30 | 30 |
31 This program comes with ABSOLUTELY NO WARRANTY; | 31 This program comes with ABSOLUTELY NO WARRANTY; |
32 This is free software, and you are welcome to redistribute it | 32 This is free software, and you are welcome to redistribute it |
33 under certain conditions. | 33 under certain conditions. |
34 """.format(name=NAME, version=constants.Const.APP_VERSION) | 34 """.format( |
35 # TODO: move protocoles in separate files (plugins?) | 35 name=NAME, version=constants.Const.APP_VERSION |
36 DEFAULT_PROTOCOLE = 'dbus' | 36 ) |
37 # TODO: move protocoles in separate files (plugins?) | |
38 DEFAULT_PROTOCOLE = "dbus" | |
37 | 39 |
38 # flags used method/signal declaration (not to be confused with constructor flags) | 40 # flags used method/signal declaration (not to be confused with constructor flags) |
39 DECLARATION_FLAGS = ['deprecated', 'async'] | 41 DECLARATION_FLAGS = ["deprecated", "async"] |
40 | 42 |
41 ENV_OVERRIDE = "SAT_BRIDGE_CONST_" # Prefix used to override a constant | 43 ENV_OVERRIDE = "SAT_BRIDGE_CONST_" # Prefix used to override a constant |