diff options
author | Julien Danjou <julien@danjou.info> | 2015-01-13 13:54:48 +0100 |
---|---|---|
committer | Julien Danjou <julien@danjou.info> | 2015-01-23 17:43:04 +0100 |
commit | a5f8d66d6e00e657c5fcf9d9ba9f0c0fa94004c5 (patch) | |
tree | 195a06285c691b78fe48e958e4ce11339c4eed59 /tools | |
parent | 5eed6ec5a31b9c7e8b30eca363964dc78e951411 (diff) | |
download | ceilometer-a5f8d66d6e00e657c5fcf9d9ba9f0c0fa94004c5.tar.gz |
Upgrade to hacking 0.10
Change-Id: Ia567c3aeb7f8516d0834dc8e4c3852e43a687043
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/ceilometer-test-event.py | 2 | ||||
-rwxr-xr-x | tools/lintstack.py | 8 | ||||
-rwxr-xr-x | tools/make_test_data.py | 2 | ||||
-rwxr-xr-x | tools/release-bugs.py | 2 | ||||
-rwxr-xr-x | tools/show_data.py | 2 |
5 files changed, 7 insertions, 9 deletions
diff --git a/tools/ceilometer-test-event.py b/tools/ceilometer-test-event.py index 66325cd2..9e4da48c 100755 --- a/tools/ceilometer-test-event.py +++ b/tools/ceilometer-test-event.py @@ -2,8 +2,6 @@ # # Copyright 2013 Rackspace Hosting. # -# Author: Monsyne Dragon <mdragon@rackspace.com> -# # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at diff --git a/tools/lintstack.py b/tools/lintstack.py index 557bbf1c..ddea7993 100755 --- a/tools/lintstack.py +++ b/tools/lintstack.py @@ -103,7 +103,13 @@ class LintOutput(object): def review_str(self): return ("File %(filename)s\nLine %(lineno)d:%(line_content)s\n" - "%(code)s: %(message)s" % self.__dict__) + "%(code)s: %(message)s" % { + "filename": self.filename, + "lineno": self.lineno, + "line_content": self.line_content, + "code": self.code, + "message": self.message, + }) class ErrorKeys(object): diff --git a/tools/make_test_data.py b/tools/make_test_data.py index dbd99624..347eba1c 100755 --- a/tools/make_test_data.py +++ b/tools/make_test_data.py @@ -2,8 +2,6 @@ # # Copyright 2012 New Dream Network, LLC (DreamHost) # -# Author: Doug Hellmann <doug.hellmann@dreamhost.com> -# # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at diff --git a/tools/release-bugs.py b/tools/release-bugs.py index 2314c813..2f3591d0 100755 --- a/tools/release-bugs.py +++ b/tools/release-bugs.py @@ -2,8 +2,6 @@ # # Copyright 2012 Graham Binns for Canonical # -# Author: Graham Binns <graham.binns@gmail.com> -# # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at diff --git a/tools/show_data.py b/tools/show_data.py index cd965d36..365f1a9b 100755 --- a/tools/show_data.py +++ b/tools/show_data.py @@ -2,8 +2,6 @@ # # Copyright 2012 New Dream Network (DreamHost) # -# Author: Doug Hellmann <doug.hellmann@dreamhost.com> -# # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at |