diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/paint/utils.py	Thu Feb 23 17:41:54 2012 -0800
@@ -0,0 +1,13 @@
+"""
+utility methods for PaInt
+"""
+
+# TODO: in general, these should be upstreamed to
+# python's standard library or equivalent methods
+# from python's standard library used instead of
+# having yet another utils.py file.
+
+# Until that magical day, we'll put them here
+
+def isURL(path_spec):
+    return '://' in path_spec