Merge lp:~abentley/launchpad/no-proxy-warnings into lp:launchpad
Status: | Merged |
---|---|
Merged at revision: | 11303 |
Proposed branch: | lp:~abentley/launchpad/no-proxy-warnings |
Merge into: | lp:launchpad |
Diff against target: |
28 lines (+4/-2) 1 file modified
lib/lp/testing/factory.py (+4/-2) |
To merge this branch: | bzr merge lp:~abentley/launchpad/no-proxy-warnings |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Tim Penhey (community) | Approve | ||
Review via email: mp+31781@code.launchpad.net |
Commit message
Disable proxy warnings except when explicitly enabled.
Description of the change
= Summary =
Disable proxy warnings except when explicitly enabled.
== Proposed fix ==
When the environment variable 'PROXY_WARNINGS' is set to '1', emit warnings.
When it is unset or set to other values, emit no warnings.
== Pre-implementation notes ==
Discussed disabling on list. Julian Edwards and Robert Collins were positive
about it.
== Implementation details ==
None
== Tests ==
bin/test test_linkedbranch
PROXY_WARNINGS=1 bin/test test_linkedbranch
== Demo and Q/A ==
None
= Launchpad lint =
Checking for conflicts and issues in changed files.
Linting changed files:
lib/lp/
./lib/lp/
32: redefinition of unused 'os' from line 31
Lets call the variable ZOPE_PROXY_WARNINGS or something like that.
-Rob