Mercurial > hg > PaInt
annotate paint/utils.py @ 50:daa35ff485c2
fixes
| author | Jeff Hammel <jhammel@mozilla.com> |
|---|---|
| date | Wed, 02 Jan 2013 13:06:49 -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 |
