view roundup/anypy/urllib_.py @ 6676:b336cc98d9d2

Mark strings for password reset and registration for translation Reported on: https://sourceforge.net/p/roundup/mailman/message/37652424/ by Thomas Arendsen Hein. Fixed in actions.py and roundup.pot and .po files updated.
author John Rouillard <rouilj@ieee.org>
date Thu, 12 May 2022 21:29:09 -0400
parents 7b194e35d332
children 07ce4e4110f5
line wrap: on
line source


try:
    # Python 3+
    from urllib.parse import quote, unquote, urlencode, urlparse, parse_qs, \
        urlunparse
    from urllib.request import urlopen
except ImportError:
    # Python 2.5-2.7
    from urllib import quote, unquote, urlencode
    from urllib2 import urlopen
    from urlparse import urlparse, parse_qs, urlunparse

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