← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] lp:~jml/lp-dev-utils/apply-top-tests-fixes into lp:lp-dev-utils

 

Jonathan Lange has proposed merging lp:~jml/lp-dev-utils/apply-top-tests-fixes into lp:lp-dev-utils.

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~jml/lp-dev-utils/apply-top-tests-fixes/+merge/109665

https://code.launchpad.net/~jml/launchpad/remove-top-tests/+merge/109664 removes top-tests.py from the Launchpad tree. It had hardly changed during its time there, but it had changed a little. Here are those changes.

-- 
https://code.launchpad.net/~jml/lp-dev-utils/apply-top-tests-fixes/+merge/109665
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~jml/lp-dev-utils/apply-top-tests-fixes into lp:lp-dev-utils.
=== modified file 'top-tests.py'
--- top-tests.py	2012-01-16 14:53:13 +0000
+++ top-tests.py	2012-06-11 15:34:32 +0000
@@ -1,5 +1,7 @@
 #!/usr/bin/python
-# Copyright 2007 Canonical Ltd.  All rights reserved.
+#
+# Copyright 2009-2012 Canonical Ltd.  This software is licensed under the
+# GNU Affero General Public License version 3 (see the file LICENSE).
 
 """top-tests.py - Report about slowest tests in the test suite.
 
@@ -9,11 +11,12 @@
 
 __metaclass__ = type
 
-import re
 import operator
 import os
+import re
 import sys
 
+
 LEN = 20
 
 class ParseException(Exception):
@@ -109,7 +112,7 @@
             raise ParseException('End of file before end of test run.')
 
     def handleStartTestRunner(self, line, ignored):
-        """Switch the the layer state."""
+        """Switch the layer state."""
 
     def handleLayerStart(self, line, match):
         """Create a new stats container for the layer."""