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
1=== modified file 'tests/test_schedule_hetero_control.py'
2--- tests/test_schedule_hetero_control.py 2015-09-25 18:14:47 +0000
3+++ tests/test_schedule_hetero_control.py 2015-10-22 20:20:52 +0000
4@@ -1,7 +1,5 @@
5 from __future__ import print_function
6
7-__metaclass__ = type
8-
9 from datetime import timedelta
10 import json
11 import os
12@@ -25,6 +23,9 @@
13 from test_utility import write_config
14
15
16+__metaclass__ = type
17+
18+
19 class TestScheduleHeteroControl(TestCase):
20
21 def test_get_args_credentials(self):

Subscribers

People subscribed via source and target branches