Mercurial > hg > PaInt
annotate paint/utils.py @ 56:042a1b2a3e8a
start flushing out tests
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Wed, 23 Jan 2013 16:01:29 -0800 |
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 |