Use py3 print function

parent 2d228b94
#!/bin/python
# -*- coding: utf-8 -*-
from __future__ import print_function
import os
import time
import argparse
......@@ -354,11 +356,11 @@ def main():
if arguments.discovery:
storwize_logger.info("********************************* Starting Discovering *********************************")
result_discovery = discovering_resources(arguments.storwize_user, arguments.storwize_password, arguments.storwize_ip, arguments.storwize_port, arguments.storage_name, list_resources)
print result_discovery
print(result_discovery)
elif arguments.status:
storwize_logger.info("********************************* Starting Get Status *********************************")
result_status = get_status_resources(arguments.storwize_user, arguments.storwize_password, arguments.storwize_ip, arguments.storwize_port, arguments.storage_name, list_resources)
print result_status
print(result_status)
if __name__ == "__main__":
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment