annotate paint/utils.py @ 69:fea269259222

move comment to more appropriate place
author Jeff Hammel <jhammel@mozilla.com>
date Sat, 26 Jan 2013 00:00:56 -0800
parents a7bf894c96c7
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
a7bf894c96c7 yet more stubbing
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
1 """
a7bf894c96c7 yet more stubbing
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
2 utility methods for PaInt
a7bf894c96c7 yet more stubbing
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
3 """
a7bf894c96c7 yet more stubbing
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
4
a7bf894c96c7 yet more stubbing
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
5 # TODO: in general, these should be upstreamed to
a7bf894c96c7 yet more stubbing
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
6 # python's standard library or equivalent methods
a7bf894c96c7 yet more stubbing
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
7 # from python's standard library used instead of
a7bf894c96c7 yet more stubbing
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
8 # having yet another utils.py file.
a7bf894c96c7 yet more stubbing
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
9
a7bf894c96c7 yet more stubbing
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
10 # Until that magical day, we'll put them here
a7bf894c96c7 yet more stubbing
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
11
a7bf894c96c7 yet more stubbing
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
12 def isURL(path_spec):
a7bf894c96c7 yet more stubbing
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
13 return '://' in path_spec