]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
Rename ResultsPoster to ResultsReporter
authorZack Cerza <zack@cerza.org>
Wed, 2 Oct 2013 21:26:48 +0000 (16:26 -0500)
committerZack Cerza <zack@cerza.org>
Wed, 2 Oct 2013 23:34:04 +0000 (18:34 -0500)
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
teuthology/report.py

index ea28989e3fefa819807dfc664dfaf1e8400f3390..4c1a2fe67b2bff74192e3beeb17efbea71f7017c 100755 (executable)
@@ -96,7 +96,7 @@ class ResultsSerializer(object):
         return runs
 
 
-class ResultsPoster(object):
+class ResultsReporter(object):
     last_run_file = 'last_successful_run'
 
     def __init__(self, archive_base, base_uri=None, save=False, refresh=False):
@@ -254,14 +254,14 @@ def parse_args():
 def main():
     args = parse_args()
     archive_base = os.path.abspath(os.path.expanduser(args.archive))
-    poster = ResultsPoster(archive_base, base_uri=args.server, save=args.save,
-                           refresh=args.refresh)
+    reporter = ResultsReporter(archive_base, base_uri=args.server, save=args.save,
+                               refresh=args.refresh)
     if args.run and len(args.run) > 1:
-        poster.submit_runs(args.run)
+        reporter.submit_runs(args.run)
     elif args.run:
-        poster.submit_run(args.run[0])
+        reporter.submit_run(args.run[0])
     elif args.all_runs:
-        poster.submit_all_runs()
+        reporter.submit_all_runs()
 
 
 if __name__ == "__main__":