app/soc/modules/ghop/logic/__init__.py
author Sverre Rabbelier <srabbelier@gmail.com>
Sat, 12 Sep 2009 00:36:49 +0200
changeset 2898 ac5f77cd6046
parent 2403 92cfd29a363d
permissions -rw-r--r--
Fix 500 when saving /site/edit without email When saving /site/edit with no no_reply_email set, a 500 error page would be returned due to an empty value being passed as value to the datastore (which is not allowed for email fields).
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2400
5992e2033ca2 Added licenses and fixed the authors of __init__.py for the GHOP module.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 2397
diff changeset
     1
# Copyright 2009 the Melange authors.
5992e2033ca2 Added licenses and fixed the authors of __init__.py for the GHOP module.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 2397
diff changeset
     2
#
5992e2033ca2 Added licenses and fixed the authors of __init__.py for the GHOP module.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 2397
diff changeset
     3
# Licensed under the Apache License, Version 2.0 (the "License");
5992e2033ca2 Added licenses and fixed the authors of __init__.py for the GHOP module.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 2397
diff changeset
     4
# you may not use this file except in compliance with the License.
5992e2033ca2 Added licenses and fixed the authors of __init__.py for the GHOP module.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 2397
diff changeset
     5
# You may obtain a copy of the License at
5992e2033ca2 Added licenses and fixed the authors of __init__.py for the GHOP module.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 2397
diff changeset
     6
#
5992e2033ca2 Added licenses and fixed the authors of __init__.py for the GHOP module.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 2397
diff changeset
     7
# http://www.apache.org/licenses/LICENSE-2.0
5992e2033ca2 Added licenses and fixed the authors of __init__.py for the GHOP module.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 2397
diff changeset
     8
#
5992e2033ca2 Added licenses and fixed the authors of __init__.py for the GHOP module.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 2397
diff changeset
     9
# Unless required by applicable law or agreed to in writing, software
5992e2033ca2 Added licenses and fixed the authors of __init__.py for the GHOP module.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 2397
diff changeset
    10
# distributed under the License is distributed on an "AS IS" BASIS,
5992e2033ca2 Added licenses and fixed the authors of __init__.py for the GHOP module.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 2397
diff changeset
    11
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
5992e2033ca2 Added licenses and fixed the authors of __init__.py for the GHOP module.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 2397
diff changeset
    12
# See the License for the specific language governing permissions and
5992e2033ca2 Added licenses and fixed the authors of __init__.py for the GHOP module.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 2397
diff changeset
    13
# limitations under the License.
2403
92cfd29a363d Removed authors from 'empty' __init__.py files.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 2400
diff changeset
    14
2400
5992e2033ca2 Added licenses and fixed the authors of __init__.py for the GHOP module.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 2397
diff changeset
    15
"""This is the GHOP Logic module.
5992e2033ca2 Added licenses and fixed the authors of __init__.py for the GHOP module.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 2397
diff changeset
    16
"""