Index: boto/sdb/db/manager/__init__.py |
diff --git a/boto/sdb/db/manager/__init__.py b/boto/sdb/db/manager/__init__.py |
index 07777966007fce3165d13f43b99d513171864e6c..55b32a4dca21bdfb698a2c26310e723b4c2b467c 100644 |
--- a/boto/sdb/db/manager/__init__.py |
+++ b/boto/sdb/db/manager/__init__.py |
@@ -66,6 +66,9 @@ def get_manager(cls): |
db_port = boto.config.getint(db_section, 'db_port', db_port) |
enable_ssl = boto.config.getint(db_section, 'enable_ssl', enable_ssl) |
debug = boto.config.getint(db_section, 'debug', debug) |
+ elif hasattr(cls, "_db_name") and cls._db_name is not None: |
+ # More specific then the generic DB config is any _db_name class property |
+ db_name = cls._db_name |
elif hasattr(cls.__bases__[0], "_manager"): |
return cls.__bases__[0]._manager |
if db_type == 'SimpleDB': |