Commit 363f93f3 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

Fix undefined name errors.

parent 375140c0
...@@ -75,7 +75,7 @@ if to_url is None:\n ...@@ -75,7 +75,7 @@ if to_url is None:\n
to_email_list.append(email)\n to_email_list.append(email)\n
to_url_list.append(formataddr((recipient.getTitle(), recipient.getDefaultEmailText())))\n to_url_list.append(formataddr((recipient.getTitle(), recipient.getDefaultEmailText())))\n
else:\n else:\n
raise ValueError("One email must be set to %s" % person.getRelativeUrl())\n raise ValueError("One email must be set to %s" % recipient.getRelativeUrl())\n
else:\n else:\n
to_url_list.append(to_url)\n to_url_list.append(to_url)\n
\n \n
......
1047 1048
\ No newline at end of file \ No newline at end of file
...@@ -61,7 +61,7 @@ if len(kw):\n ...@@ -61,7 +61,7 @@ if len(kw):\n
\n \n
catalog_kw = {\'limit\' : limit}\n catalog_kw = {\'limit\' : limit}\n
if min_id and id_list:\n if min_id and id_list:\n
raise NotImplementError\n raise NotImplementedError\n
\n \n
if min_id:\n if min_id:\n
catalog_kw[\'id\'] = {\'query\': min_id, \'range\': \'nlt\'}\n catalog_kw[\'id\'] = {\'query\': min_id, \'range\': \'nlt\'}\n
......
93 94
\ No newline at end of file \ No newline at end of file
...@@ -79,7 +79,7 @@ if not len(user_preference_list):\n ...@@ -79,7 +79,7 @@ if not len(user_preference_list):\n
portal_type=\'Preference\', \n portal_type=\'Preference\', \n
title=\'Preference for %s\' %user)\n title=\'Preference for %s\' %user)\n
user_preference.enable()\n user_preference.enable()\n
except Unautorized:\n except Unauthorized:\n
# user is not allowed to have its own preference\n # user is not allowed to have its own preference\n
user_preference = None\n user_preference = None\n
else:\n else:\n
......
1106 1107
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment