--- 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