Skip to content

Commit

Permalink
Merge branch 'release/0.2.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
jezdez committed Aug 22, 2011
2 parents 9fc588c + cea0d3a commit afc21b0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,11 @@ is provided in the setting instance::
Changelog
---------

0.2.2 (2011-08-22)
^^^^^^^^^^^^^^^^^^

* Fixed another issue in the ``configure()`` API.

0.2.1 (2011-08-22)
^^^^^^^^^^^^^^^^^^

Expand Down
4 changes: 2 additions & 2 deletions appconf.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import sys

# following PEP 386, versiontools will pick it up
__version__ = (0, 2, 1, "final", 0)
__version__ = (0, 2, 2, "final", 0)


class AppConfOptions(object):
Expand Down Expand Up @@ -62,7 +62,7 @@ def _configure(cls):
if callable(callback):
value = callback(value)
obj.configured_data[name] = value
obj.configured_data = obj.configure(obj)
obj.configured_data = obj.configure()
# Finally, set the setting in the global setting object
for name, value in obj.configured_data.iteritems():
setattr(settings, obj.names[name], value)
Expand Down

0 comments on commit afc21b0

Please sign in to comment.