diff options
author | Six <unknown> | 2010-05-01 22:56:18 -0400 |
---|---|---|
committer | Six <unknown> | 2010-05-01 22:56:18 -0400 |
commit | 8780fb51777b9042cdfd12a3625bbdc871621820 (patch) | |
tree | 463fbd052f15a8b6176777608b58572d792fd762 | |
parent | 6bb04aa61e02cecbe923def0e24002622db5fc0c (diff) | |
download | dodai-macsupport-8780fb51777b9042cdfd12a3625bbdc871621820.tar.bz2 dodai-macsupport-8780fb51777b9042cdfd12a3625bbdc871621820.tar.xz dodai-macsupport-8780fb51777b9042cdfd12a3625bbdc871621820.zip |
fixed DatabaseConnection.load
-rw-r--r-- | dodai/config/databases/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dodai/config/databases/__init__.py b/dodai/config/databases/__init__.py index ba6b9a9..c91e77f 100644 --- a/dodai/config/databases/__init__.py +++ b/dodai/config/databases/__init__.py | |||
@@ -114,7 +114,7 @@ class DatabaseConnection(object): | |||
114 | if not self.obj: | 114 | if not self.obj: |
115 | self.validate() | 115 | self.validate() |
116 | handler = self._get_handler() | 116 | handler = self._get_handler() |
117 | self.obj = handler(self.name, self.section) | 117 | self.obj = handler(self.section, self.name) |
118 | return self.obj | 118 | return self.obj |
119 | 119 | ||
120 | def _get_handler(self): | 120 | def _get_handler(self): |