equal
deleted
inserted
replaced
130 """run the command line tool""" |
130 """run the command line tool""" |
131 try: |
131 try: |
132 opts, args = getopt.getopt(args, 'hn:t:u:p:P:o:', ['help', 'user=', 'password=', |
132 opts, args = getopt.getopt(args, 'hn:t:u:p:P:o:', ['help', 'user=', 'password=', |
133 'nb-times=', 'nb-threads=', |
133 'nb-times=', 'nb-threads=', |
134 'profile', 'report-output=',]) |
134 'profile', 'report-output=',]) |
135 except Exception, ex: |
135 except Exception as ex: |
136 print ex |
136 print ex |
137 usage(1) |
137 usage(1) |
138 repeat = 100 |
138 repeat = 100 |
139 threads = 1 |
139 threads = 1 |
140 user = os.environ.get('USER', os.environ.get('LOGNAME')) |
140 user = os.environ.get('USER', os.environ.get('LOGNAME')) |