]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Use idiomatic python.
authorTommi Virtanen <tommi.virtanen@dreamhost.com>
Thu, 30 Jun 2011 18:25:15 +0000 (11:25 -0700)
committerTommi Virtanen <tommi.virtanen@dreamhost.com>
Thu, 30 Jun 2011 18:25:15 +0000 (11:25 -0700)
teuthology/suite.py

index c9fca6632eb4e27882b99ac446bc7cdfe92bbd43..ac4da570934ed5d70cac743ada3bc447e789e077 100644 (file)
@@ -139,7 +139,7 @@ def ls():
             with file('%s/%s/summary.yaml' % (args.archive_dir,j)) as f:
                 g = yaml.safe_load_all(f)
                 for new in g:
-                    summary = dict(summary.items() + new.items())
+                    summary.update(new)
         except IOError, e:
             continue