Fix typos picked up by misspellings
Joe Gordon has introduced a module named misspellings which can check typo automatically. $ pip install misspellings $ git ls-files | grep -v locale | misspellings -f - Change-Id: I9eca2e097b03468651814fa563e4380fd573205e ref: http://lists.openstack.org/pipermail/openstack-dev/2013-December/020975.html
This commit is contained in:
		@@ -93,7 +93,7 @@ def cli_to_array(cli_query):
 | 
			
		||||
    for q in queries:
 | 
			
		||||
        frag = split_by_op(q)
 | 
			
		||||
        if len(frag) > 1:
 | 
			
		||||
            raise ValueError('incorrect seperator %s in query "%s"' %
 | 
			
		||||
            raise ValueError('incorrect separator %s in query "%s"' %
 | 
			
		||||
                             ('(should be ";")', q))
 | 
			
		||||
        if len(frag) == 0:
 | 
			
		||||
            raise ValueError('invalid query %s' % q)
 | 
			
		||||
 
 | 
			
		||||
@@ -271,7 +271,7 @@ def common_alarm_arguments(create=False):
 | 
			
		||||
        @utils.arg('--insufficient-data-action',
 | 
			
		||||
                   dest='insufficient_data_actions',
 | 
			
		||||
                   metavar='<Webhook URL>', action='append', default=None,
 | 
			
		||||
                   help=('URL to invoke when state transitions to unkown. '
 | 
			
		||||
                   help=('URL to invoke when state transitions to unknown. '
 | 
			
		||||
                         'May be used multiple times.'))
 | 
			
		||||
        @functools.wraps(func)
 | 
			
		||||
        def _wrapped(*args, **kwargs):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user