mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
typofixes - https://github.com/vlajos/misspell_fixer
Suspicious sections: plugins/mail/postfix_mail_stats recieved.label plugins/nginx/nginx_vhost_traffic
This commit is contained in:
parent
8e18199f16
commit
fba800ae52
119 changed files with 176 additions and 176 deletions
|
@ -33,9 +33,9 @@ try:
|
|||
from keystone import identity
|
||||
|
||||
except ImportError:
|
||||
succesful_import = False
|
||||
successful_import = False
|
||||
else:
|
||||
succesful_import = True
|
||||
successful_import = True
|
||||
|
||||
|
||||
def get_name_from_tenant(tenant):
|
||||
|
@ -121,11 +121,11 @@ if __name__ == '__main__':
|
|||
if len(argv) > 1:
|
||||
if argv[1] == 'config':
|
||||
print_config(tenant)
|
||||
elif argv[1] == 'suggest' and succesful_import:
|
||||
elif argv[1] == 'suggest' and successful_import:
|
||||
load_conf()
|
||||
print_suggest()
|
||||
elif argv[1] == 'autoconf':
|
||||
if not succesful_import:
|
||||
if not successful_import:
|
||||
print 'no (failed import glance and/or sqlachemy module)'
|
||||
sys.exit(0)
|
||||
try:
|
||||
|
@ -136,7 +136,7 @@ if __name__ == '__main__':
|
|||
sys.exit(0)
|
||||
print 'yes'
|
||||
|
||||
elif succesful_import:
|
||||
elif successful_import:
|
||||
load_conf()
|
||||
print_values(tenant)
|
||||
|
||||
|
|
|
@ -25,9 +25,9 @@ try:
|
|||
from glance.registry.db import models
|
||||
from glance.registry.db.api import get_session, configure_db
|
||||
except ImportError:
|
||||
succesful_import = False
|
||||
successful_import = False
|
||||
else:
|
||||
succesful_import = True
|
||||
successful_import = True
|
||||
|
||||
def load_conf():
|
||||
CONF = CommonConfigOpts(project="glance", prog="glance-registry")
|
||||
|
@ -86,7 +86,7 @@ if __name__ == '__main__':
|
|||
if argv[1] == 'config':
|
||||
print_config()
|
||||
elif argv[1] == 'autoconf':
|
||||
if not succesful_import:
|
||||
if not successful_import:
|
||||
print 'no (failed import glance and/or sqlachemy module)'
|
||||
sys.exit(0)
|
||||
try:
|
||||
|
@ -97,7 +97,7 @@ if __name__ == '__main__':
|
|||
sys.exit(0)
|
||||
print 'yes'
|
||||
|
||||
elif succesful_import:
|
||||
elif successful_import:
|
||||
load_conf()
|
||||
print_values()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue