Fix refspec for coe test patch
[integration/test.git] / tools / odl-mdsal-clustering-tests / clustering-performance-test / inventory_read_blaster.py
index 94a3c4d5e2f2f6cc26ca9a08de58cda008015470..87a19ebc85dc3c53907be59c332e1406866a180a 100755 (executable)
@@ -1,9 +1,5 @@
 #!/usr/bin/python
 
-__author__ = "Gary Wu"
-__email__ = "gary.wu1@huawei.com"
-
-
 import requests
 import argparse
 import time
@@ -14,6 +10,11 @@ import collections
 
 from Queue import Queue
 
+
+__author__ = "Gary Wu"
+__email__ = "gary.wu1@huawei.com"
+
+
 GET_HEADERS = {'Accept': 'application/json'}
 
 INVENTORY_URL = 'http://%s:%d/restconf/%s/opendaylight-inventory:nodes'
@@ -32,7 +33,7 @@ class Timer(object):
         self.secs = self.end - self.start
         self.msecs = self.secs * 1000  # millisecs
         if self.verbose:
-            print ("elapsed time: %f ms" % self.msecs)
+            print("elapsed time: %f ms" % self.msecs)
 
 
 def read(hosts, port, auth, datastore, print_lock, cycles, results_queue):