debianbts.get_bugs does not support passing of proxy into SoapClient.
I would try to fix this but I am not sure right now of the correct approach.

pysimplesoap uses httplib2 if it is available and if a specific transport
library is not specified in the call to get_http_wrapper, which it is not
in this application.

See patch above for other changes to reportbug to support proxy handling.
Take note that the patch sets the proxy for 'https' to the proxy specified
for 'http'. Reportbug itself only allows to specify a single proxy for
http, so this was required to support proxying for https.

Probably another argument should be added to reportbug for https proxy
configuration, in order to prevent simply using the http proxy, which may
not be correct.

On the other hand, I believe the environment configuration could be changed
(i.e. stuff the proxy information into os.environ for the duration of the
reportbug session). This would reduce in fewer code changes, which can be
considered a good thing.

I dont know what approach people wish to take, but part of this is a defect
in debianbts which is another package.

Reply via email to