view roundup/anypy/urllib_.py @ 5372:5e5f1dfb1596

Add python-sphinx. Looks like it's needed to build: xapian-bindings-1.3.7 but wasn't required before, or maybe was pulled in automatically bu the 1.2 debian package??
author John Rouillard <rouilj@ieee.org>
date Fri, 20 Jul 2018 20:51:20 -0400
parents 894aa07be6cb
children 88dbacd11cd1
line wrap: on
line source


try:
    # Python 3+
    from urllib.parse import quote, urlencode, urlparse, parse_qs, urlunparse
except:
    # Python 2.5-2.7
    from urllib import quote, urlencode
    from urlparse import urlparse, parse_qs, urlunparse

Roundup Issue Tracker: http://roundup-tracker.org/