[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#684768: unblock: pegasus-wms/4.0.1+dfsg-7



On 08/17/2012 12:52 PM, Adam D. Barratt wrote:
> ++    try:
> ++        urlparse.uses_query.append(scheme)
> ++    except AttributeError as errorstring:
> ++        print(errorstring)
> 
> What's the logic behind printing the AttributeError here?  Is it of use
> to anyone?  (I suspect not, given that it will occur for all python 2.7
> users.)

Adam,

Thanks for the feedback. I have to admit I only tested the fix against
wheezy and it turns out that the current Python version (2.7.3~rc2-1)
does have the urlparse.uses_query attribute. The Python version in sid
(2.7.3-2) does have the change and triggers the problem. As there is an
unblock request for 2.7.3-2, I would like to upload a new version of
pegasus-wms, replacing the print(errorstring) with a "pass". I have
verified that this solves the problem in Python 2.7.3-2. Does this
change sound acceptable?

Thanks,

-- 
Mats Rynge


Reply to: