@@ -190,8 +190,7 @@ def take_action(self, parsed_args):
190190 compute_client .flavor_add_tenant_access (flavor .id , project_id )
191191 except Exception as e :
192192 msg = _ (
193- "Failed to add project %(project)s access to "
194- "flavor: %(e)s"
193+ "Failed to add project %(project)s access to flavor: %(e)s"
195194 )
196195 LOG .error (msg , {'project' : parsed_args .project , 'e' : e })
197196 if parsed_args .properties :
@@ -242,7 +241,7 @@ def take_action(self, parsed_args):
242241
243242 if result > 0 :
244243 total = len (parsed_args .flavor )
245- msg = _ ("%(result)s of %(total)s flavors failed " " to delete." ) % {
244+ msg = _ ("%(result)s of %(total)s flavors failed to delete." ) % {
246245 'result' : result ,
247246 'total' : total ,
248247 }
@@ -404,9 +403,7 @@ def get_parser(self, prog_name):
404403 parser .add_argument (
405404 '--project' ,
406405 metavar = '<project>' ,
407- help = _ (
408- 'Set flavor access to project (name or ID) ' '(admin only)'
409- ),
406+ help = _ ('Set flavor access to project (name or ID) (admin only)' ),
410407 )
411408 identity_common .add_project_domain_option_to_parser (parser )
412409 parser .add_argument (
@@ -483,7 +480,7 @@ def take_action(self, parsed_args):
483480
484481 if result > 0 :
485482 raise exceptions .CommandError (
486- _ ("Command Failed: One or more of" " the operations failed" )
483+ _ ("Command Failed: One or more of the operations failed" )
487484 )
488485
489486
@@ -560,8 +557,7 @@ def get_parser(self, prog_name):
560557 '--project' ,
561558 metavar = '<project>' ,
562559 help = _ (
563- 'Remove flavor access from project (name or ID) '
564- '(admin only)'
560+ 'Remove flavor access from project (name or ID) (admin only)'
565561 ),
566562 )
567563 identity_common .add_project_domain_option_to_parser (parser )
@@ -612,5 +608,5 @@ def take_action(self, parsed_args):
612608
613609 if result > 0 :
614610 raise exceptions .CommandError (
615- _ ("Command Failed: One or more of" " the operations failed" )
611+ _ ("Command Failed: One or more of the operations failed" )
616612 )
0 commit comments