diff options
author | Six <unknown> | 2010-05-20 20:37:56 -0400 |
---|---|---|
committer | Six <unknown> | 2010-05-20 20:37:56 -0400 |
commit | 099133ba43547600768b401699cb5b2f4c1f229b (patch) | |
tree | 3da613fc747468ac7f698da9ec4570a22b265adf /dodai/config/databases/sa.py | |
parent | f005d4af39cb2c870b009b8b564748a348b80b40 (diff) | |
download | dodai-macsupport-099133ba43547600768b401699cb5b2f4c1f229b.tar.bz2 dodai-macsupport-099133ba43547600768b401699cb5b2f4c1f229b.tar.xz dodai-macsupport-099133ba43547600768b401699cb5b2f4c1f229b.zip |
changed examples for next release
Diffstat (limited to 'dodai/config/databases/sa.py')
-rw-r--r-- | dodai/config/databases/sa.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/dodai/config/databases/sa.py b/dodai/config/databases/sa.py index 21999c2..eaf35ea 100644 --- a/dodai/config/databases/sa.py +++ b/dodai/config/databases/sa.py | |||
@@ -15,7 +15,6 @@ | |||
15 | # You should have received a copy of the GNU General Public License | 15 | # You should have received a copy of the GNU General Public License |
16 | # along with Dodai. If not, see <http://www.gnu.org/licenses/>. | 16 | # along with Dodai. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 | ||
18 | |||
19 | class Sa(object): | 18 | class Sa(object): |
20 | """Callable object that will wire up sqlalchemy engine and | 19 | """Callable object that will wire up sqlalchemy engine and |
21 | session objects | 20 | session objects |
@@ -74,7 +73,7 @@ class Sa(object): | |||
74 | out.append('+{section[protocol_extra]}') | 73 | out.append('+{section[protocol_extra]}') |
75 | out.append('://') | 74 | out.append('://') |
76 | if section.has_key('filename') and section['filename']: | 75 | if section.has_key('filename') and section['filename']: |
77 | out.append('{section[filename]}') | 76 | out.append('/{section[filename]}') |
78 | else: | 77 | else: |
79 | out.append('{section[username]}:{section[password]}@') | 78 | out.append('{section[username]}:{section[password]}@') |
80 | out.append('{section[hostname]}') | 79 | out.append('{section[hostname]}') |