mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
renamed to changeorg_signature_count + generic name for cache file
This commit is contained in:
parent
97d4922ba7
commit
d47fc3adef
1 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ You need a valid API key for this petition
|
||||||
=head2 CONFIGURATION
|
=head2 CONFIGURATION
|
||||||
|
|
||||||
# Sample:
|
# Sample:
|
||||||
[change_org]
|
[changeorg_signature_count]
|
||||||
env.APIkey xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
env.APIkey xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||||
env.petitions 1727001 1727053
|
env.petitions 1727001 1727053
|
||||||
|
|
||||||
|
@ -53,7 +53,7 @@ petition_titles = {}
|
||||||
write_cache = False
|
write_cache = False
|
||||||
|
|
||||||
if environ.get('MUNIN_PLUGSTATE'):
|
if environ.get('MUNIN_PLUGSTATE'):
|
||||||
petition_cache_names = path.join(environ['MUNIN_PLUGSTATE'], 'change_org-petition_names')
|
petition_cache_names = path.join(environ['MUNIN_PLUGSTATE'], path.basename(argv[0]) + '-petition_names')
|
||||||
try:
|
try:
|
||||||
with open(petition_cache_names, 'r') as f:
|
with open(petition_cache_names, 'r') as f:
|
||||||
petition_titles = json.load(f)
|
petition_titles = json.load(f)
|
Loading…
Add table
Add a link
Reference in a new issue