Follow-up Comment #9, patch #6300 (project duplicity):

You're probably running Python 2.4 or earlier.  That is the problem that got
this patch removed.  We have to support Python 2.4 at least, 2.3 would be
desirable.

In 2.4, urlparse only returned a tuple.  In 2.5, it returns a tuple-like
object that has tuple behavior, plus named attributes.  In 2.4, netloc is
pu[netloc].  In 2.5, netloc is pu[netloc] and pu.netloc, both tuple and
attribute.  The fix I would put in would be a shim that recognizes the version
and returns the tuple-like object under 2.5, or gens the tuple-like object
when under 2.4.  Then we could just call the shim.


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?6300>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/



_______________________________________________
Duplicity-tracker mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/duplicity-tracker

Reply via email to