annotate paint/utils.py @ 77:00c0f668f332
implementation of setup2metadata
author |
Jeff Hammel <jhammel@mozilla.com> |
date |
Sun, 27 Jan 2013 22:19:10 -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
|