Mercurial > hg > PaInt
comparison paint/utils.py @ 7:a7bf894c96c7
yet more stubbing
| author | Jeff Hammel <jhammel@mozilla.com> |
|---|---|
| date | Thu, 23 Feb 2012 17:41:54 -0800 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 6:6a6da56314b1 | 7:a7bf894c96c7 |
|---|---|
| 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 |
