Cleanup logging
This commit is contained in:
parent
9d85c058da
commit
7bcca15f0b
1 changed files with 4 additions and 3 deletions
|
@ -57,10 +57,11 @@ class Command(BaseCommand):
|
||||||
}
|
}
|
||||||
cu = CustomUser.objects.get(username=user.get('username'))
|
cu = CustomUser.objects.get(username=user.get('username'))
|
||||||
# Create OpenNebulaManager
|
# Create OpenNebulaManager
|
||||||
self.style.SUCCESS(
|
self.stdout.write(
|
||||||
'Connecting using %s %s' % (cu.username, cu.password)
|
self.style.SUCCESS(
|
||||||
|
'Connecting using %s' % (cu.username)
|
||||||
|
)
|
||||||
)
|
)
|
||||||
print('Connecting using %s %s' % (cu.username, cu.password))
|
|
||||||
manager = OpenNebulaManager(email=cu.username, password=cu.password)
|
manager = OpenNebulaManager(email=cu.username, password=cu.password)
|
||||||
handle_metadata_and_emails(order_id, vm_id, manager, user, specs,
|
handle_metadata_and_emails(order_id, vm_id, manager, user, specs,
|
||||||
template)
|
template)
|
||||||
|
|
Loading…
Reference in a new issue