src/w/i/wizard-0.1.dev/wizard/deploy.py wizard(Download)
path = os.getenv("WIZARD_WEB_PATH")
if host is not None and path is not None:
r = urlparse.ParseResult(
"http",
host,
path.rstrip('/'),
"", "", "")
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/u/r/urbanmediator-HEAD/urbanmediator/util.py urbanmediator(Download)
[("[&]%s=[^&]+" % i) for i in to_del.split()]
) +")")
parsed[-2] = to_del_re.sub("", query).lstrip("&")
newurl = urlparse.ParseResult(*parsed)
return newurl.geturl()
def normalize_url(url, to_del=''):
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: