src/g/p/gpyconf-HEAD/gpyconf/fields/fields.py gpyconf(Download)
def to_python(self, value):
from urlparse import urlparse, urlunparse, ParseResult
if isinstance(value, ParseResult):
return value
if isinstance(value, tuple):
# unparse pure tuples so they can be parsed into a ParseResult tuple
value = urlunparse(value)
src/s/k/skirmish-HEAD/skirmish.py skirmish(Download)
import subprocess import time from collections import defaultdict from urlparse import urlparse, ParseResult from optparse import OptionParser DEFAULT_IMCS_PORT = 3589
src/t/o/torrentcast-HEAD/BTL/urlparse25.py torrentcast(Download)
# along with this program. If not, see <http://www.gnu.org/licenses/>.
try:
from urlparse import ParseResult
except ImportError, e:
from _urlparse25 import *
else: