Merge lp:~jelmer/launchpad/fix-devel into lp:launchpad

Proposed by Jelmer Vernooij on 2010-07-01
Status: Merged
Approved by: Jelmer Vernooij on 2010-07-01
Approved revision: no longer in the source branch.
Merged at revision: 11086
Proposed branch: lp:~jelmer/launchpad/fix-devel
Merge into: lp:launchpad
Diff against target: 12 lines (+2/-0)
1 file modified
lib/lp/testing/factory.py (+2/-0)
To merge this branch: bzr merge lp:~jelmer/launchpad/fix-devel
Reviewer Review Type Date Requested Status
Michael Nelson (community) 2010-07-01 Approve on 2010-07-01
Review via email: mp+29011@code.launchpad.net

Description of the Change

Testfix - import with_statement in lp.testing.factory to make python2.5 installations happy.

To post a comment you must log in.
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'lib/lp/testing/factory.py'
2--- lib/lp/testing/factory.py 2010-06-25 21:35:15 +0000
3+++ lib/lp/testing/factory.py 2010-07-01 15:34:29 +0000
4@@ -3,6 +3,8 @@
5
6 # pylint: disable-msg=F0401
7
8+from __future__ import with_statement
9+
10 """Testing infrastructure for the Launchpad application.
11
12 This module should not have any actual tests.