Merge pull request #3020 from beeankha/fix_unicode_error

Fix unicode error

Reviewed-by: Ryan Petrello
             https://github.com/ryanpetrello
This commit is contained in:
softwarefactory-project-zuul[bot]
2019-01-23 15:26:07 +00:00
committed by GitHub
2 changed files with 1 additions and 8 deletions

View File

@@ -104,7 +104,7 @@ class Command(BaseCommand):
changed3 = False
(ig, created, changed1) = self.get_create_update_instance_group(queuename, inst_per, inst_min)
if created:
print(six.text_type("Creating instance group {}".format(ig.name)))
print(six.text_type("Creating instance group {}").format(ig.name))
elif not created:
print(six.text_type("Instance Group already registered {}").format(ig.name))
@@ -126,4 +126,3 @@ class Command(BaseCommand):
if instance_not_found_err:
print(instance_not_found_err.message)
sys.exit(1)