app/soc/views/site/user/profile.py
changeset 355 9b3f26057f74
parent 332 3a04703a7fe3
child 358 843d83b87282
--- a/app/soc/views/site/user/profile.py	Thu Oct 16 13:14:13 2008 +0000
+++ b/app/soc/views/site/user/profile.py	Thu Oct 16 13:16:46 2008 +0000
@@ -275,7 +275,7 @@
   # try to fetch User entity corresponding to link_name if one exists
   try:
     if link_name:
-      user = id_user.getUserFromLinkNameOrDie(link_name)
+      user = id_user.getUserFromLinkNameOr404(link_name)
   except out_of_band.ErrorResponse, error:
     # show custom 404 page when link name doesn't exist in Datastore
     error.message = error.message + DEF_CREATE_NEW_USER_MSG