app/soc/logic/validate.py
changeset 533 ba3309b2fd30
parent 513 3c1e16637ad7
child 1307 091a21cf3627
--- a/app/soc/logic/validate.py	Fri Nov 21 08:38:53 2008 +0000
+++ b/app/soc/logic/validate.py	Fri Nov 21 08:41:23 2008 +0000
@@ -27,7 +27,7 @@
 
 from google.appengine.api import urlfetch
 
-from soc.logic import path_link_name
+from soc.models import linkable
 
 
 def isFeedURLValid(feed_url=None):
@@ -51,7 +51,7 @@
   Args:
     link_id: link ID used in URLs for identification
   """
-  if path_link_name.LINK_ID_REGEX.match(link_id):
+  if linkable.LINK_ID_REGEX.match(link_id):
     return True
   return False
 
@@ -64,7 +64,7 @@
       used for identification.
   """
    
-  if path_link_name.SCOPE_PATH_REGEX.match(scope_path):
+  if linkable.SCOPE_PATH_REGEX.match(scope_path):
     return True
   
   return False