mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-23 18:21:42 +08:00
Rename the Session class to Database
This feels way more natural; you don't have sessions with session properties anymore. Signed-off-by: Petr Šabata <contyk@redhat.com>
This commit is contained in:
@@ -31,7 +31,7 @@ from sqlalchemy.ext.declarative import declarative_base
|
||||
|
||||
Base = declarative_base()
|
||||
|
||||
class Session(object):
|
||||
class Database(object):
|
||||
"""Class for handling database connections."""
|
||||
|
||||
def __init__(self, rdburl=None):
|
||||
|
||||
Reference in New Issue
Block a user