Skip to content

Commit de852f1

Browse files
committed
Make sure that the name property is initialized to none.
1 parent 463fb1b commit de852f1

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

roundup/backends/sessions_dbm.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ class BasicDatabase:
2020
Keys are id strings, values are automatically marshalled data.
2121
'''
2222
_db_type = None
23+
name = None
2324

2425
def __init__(self, db):
2526
self.config = db.config

roundup/backends/sessions_rdbms.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ class BasicDatabase:
1313
1414
Keys are id strings, values are automatically marshalled data.
1515
'''
16+
name = None
1617
def __init__(self, db):
1718
self.db = db
1819
self.cursor = self.db.cursor

0 commit comments

Comments
 (0)