Merge lp:~sseman/juju-ci-tools/wily-lint-fix into lp:juju-ci-tools

Proposed by Seman
Status: Merged
Merged at revision: 1127
Proposed branch: lp:~sseman/juju-ci-tools/wily-lint-fix
Merge into: lp:juju-ci-tools
Diff against target: 21 lines (+3/-2)
1 file modified
tests/test_schedule_hetero_control.py (+3/-2)
To merge this branch: bzr merge lp:~sseman/juju-ci-tools/wily-lint-fix
Reviewer Review Type Date Requested Status
Aaron Bentley (community) Approve
Curtis Hovey (community) code Approve
Review via email: mp+275452@code.launchpad.net

Description of the change

When "__metaclass__ = type" is above imports, lint generates error on Wily. This branch fixes this issue.

To post a comment you must log in.
Revision history for this message
Curtis Hovey (sinzui) wrote :

Thank you

review: Approve (code)
Revision history for this message
Aaron Bentley (abentley) wrote :

Thanks.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'tests/test_schedule_hetero_control.py'
--- tests/test_schedule_hetero_control.py 2015-09-25 18:14:47 +0000
+++ tests/test_schedule_hetero_control.py 2015-10-22 20:20:52 +0000
@@ -1,7 +1,5 @@
1from __future__ import print_function1from __future__ import print_function
22
3__metaclass__ = type
4
5from datetime import timedelta3from datetime import timedelta
6import json4import json
7import os5import os
@@ -25,6 +23,9 @@
25from test_utility import write_config23from test_utility import write_config
2624
2725
26__metaclass__ = type
27
28
28class TestScheduleHeteroControl(TestCase):29class TestScheduleHeteroControl(TestCase):
2930
30 def test_get_args_credentials(self):31 def test_get_args_credentials(self):

Subscribers

People subscribed via source and target branches