comparison twisted/plugins/pubsub.py @ 426:6f8e1c180c83

added "~/.config/sat" as search patch for config
author Goffi <goffi@goffi.org>
date Sun, 13 Sep 2020 15:52:17 +0200
parents 89736353f6be
children 34bd55179e22
comparison
equal deleted inserted replaced
425:968091cea547 426:6f8e1c180c83
104 # List of the configuration filenames sorted by ascending priority 104 # List of the configuration filenames sorted by ascending priority
105 CONFIG_FILES = [realpath(expanduser(path) + CONFIG_FILENAME + '.conf') for path in ( 105 CONFIG_FILES = [realpath(expanduser(path) + CONFIG_FILENAME + '.conf') for path in (
106 '/etc/', '/etc/{}/'.format(CONFIG_FILENAME), 106 '/etc/', '/etc/{}/'.format(CONFIG_FILENAME),
107 '~/', '~/.', 107 '~/', '~/.',
108 '.config/', '.config/.', 108 '.config/', '.config/.',
109 '.config/{}/'.format(CONFIG_FILENAME),
109 '', '.')] 110 '', '.')]
110 CONFIG_SECTION = 'pubsub' 111 CONFIG_SECTION = 'pubsub'
111 112
112 113
113 class Options(usage.Options): 114 class Options(usage.Options):