Mercurial > libervia-pubsub
diff twisted/plugins/pubsub.py @ 447:cc29a62fb64c
renaming following global Salut à Toi => Libervia renaming:
/!\ application name and environment variables are renamed /!\
- Twisted application name is now `libervia-pubsub`
- environment variable are now prefixed by `LIBERVIA_PUBSUB_`
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 14 Apr 2021 12:05:40 +0200 |
parents | fe24bb60236f |
children | 1a179ad10125 |
line wrap: on
line diff
--- a/twisted/plugins/pubsub.py Sun Mar 21 14:39:13 2021 +0100 +++ b/twisted/plugins/pubsub.py Wed Apr 14 12:05:40 2021 +0200 @@ -1,5 +1,4 @@ #!/usr/bin/env python3 -#-*- coding: utf-8 -*- # Copyright (c) 2012-2021 Jérôme Poisson # Copyright (c) 2003-2011 Ralph Meijer @@ -99,7 +98,7 @@ ] # prefix used for environment variables -ENV_PREFIX = "SAT_PUBSUB_" +ENV_PREFIX = "LIBERVIA_PUBSUB_" # mapping from option name to environment variables to use # each parameter name links to a list of variable environment name # if an environment variable of one of the names exists it will be used @@ -204,8 +203,8 @@ @implementer(IServiceMaker, IPlugin) class SatPubsubMaker(object): - tapname = "sat-pubsub" - description = "Salut à Toi Publish-Subscribe Service Component" + tapname = "libervia-pubsub" + description = "Libervia's Publish-Subscribe Service Component" options = Options def makeService(self, config):