view paint/utils.py @ 42:97a7b740ddab

dont import pypi; see https://bugzilla.mozilla.org/show_bug.cgi?id=741011
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 30 Mar 2012 16:41:31 -0700
parents a7bf894c96c7
children
line wrap: on
line source

"""
utility methods for PaInt
"""

# TODO: in general, these should be upstreamed to
# python's standard library or equivalent methods
# from python's standard library used instead of
# having yet another utils.py file.

# Until that magical day, we'll put them here

def isURL(path_spec):
    return '://' in path_spec