Merge pull request #29 from kamn/master
If debug is enabled, ask_for_optional is a required field
diff --git a/flask_openid.py b/flask_openid.py
index 6909d6a..27ee8d9 100644
--- a/flask_openid.py
+++ b/flask_openid.py
@@ -500,7 +500,7 @@
required, and keys in `ask_for_optional` are marked as optional.
The following strings can be used in the `ask_for` and
- `ask_for_optional` parameters:
+ `ask_for_optional` parameters:
``aim``, ``blog``, ``country``, ``dob`` (date of birth), ``email``,
``fullname``, ``gender``, ``icq``, ``image``, ``jabber``, ``language``,
``msn``, ``nickname``, ``phone``, ``postcode``, ``skype``,
diff --git a/setup.py b/setup.py
index a4531fe..06bcfd2 100644
--- a/setup.py
+++ b/setup.py
@@ -17,13 +17,13 @@
# This check is to make sure we checkout docs/_themes before running sdist
if not os.path.exists("./docs/_themes/README"):
- print 'Please make sure you have docs/_themes checked out while running setup.py!'
+ print('Please make sure you have docs/_themes checked out while running setup.py!')
if os.path.exists('.git'):
- print 'You seem to be using a git checkout, please execute the following commands to get the docs/_themes directory:'
- print ' - git submodule init'
- print ' - git submodule update'
+ print('You seem to be using a git checkout, please execute the following commands to get the docs/_themes directory:')
+ print(' - git submodule init')
+ print(' - git submodule update')
else:
- print 'You seem to be using a release. Please use the release tarball from PyPI instead of the archive from GitHub'
+ print('You seem to be using a release. Please use the release tarball from PyPI instead of the archive from GitHub')
sys.exit(1)
extra = {}