Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zags committed Nov 13, 2014
1 parent 2485f0a commit 0ca0a5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mongolia/database_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ def __setitem__(self, key, value):
if key == ID_KEY or key == "ID_KEY":
raise KeyError("Do not modify '%s' directly; use rename() instead" % ID_KEY)
if self.DEFAULTS and key not in self.DEFAULTS:
if CONNECTION.defaults_handling == AlertLevel.error:
if CONNECTION.default_handling == AlertLevel.error:
raise InvalidKeyError("%s not in DEFAULTS for %s" % (key, type(self).__name__))
elif CONNECTION.default_handling == AlertLevel.warning:
log(WARN, "%s not in DEFAULTS for %s" % (key, type(self).__name__))
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

setup(
name = "mongolia",
version = "0.1.3",
version = "0.1.4",
packages = find_packages(),

author = "Zagaran, Inc.",
Expand Down

0 comments on commit 0ca0a5b

Please sign in to comment.