Mercurial > hg > PaInt
annotate paint/utils.py @ 44:14556787478c
python 2.4 compatability
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Fri, 30 Mar 2012 16:46:49 -0700 |
parents | a7bf894c96c7 |
children |
rev | line source |
---|---|
7 | 1 """ |
2 utility methods for PaInt | |
3 """ | |
4 | |
5 # TODO: in general, these should be upstreamed to | |
6 # python's standard library or equivalent methods | |
7 # from python's standard library used instead of | |
8 # having yet another utils.py file. | |
9 | |
10 # Until that magical day, we'll put them here | |
11 | |
12 def isURL(path_spec): | |
13 return '://' in path_spec |