summaryrefslogtreecommitdiffstats
path: root/src/lib/Server
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2009-03-04 01:50:23 +0000
committerNarayan Desai <desai@mcs.anl.gov>2009-03-04 01:50:23 +0000
commit924dbb3eee87e7763b4aeef380d7f14d7bf470a6 (patch)
treed41a0229f39b93d506d6885d73a22bb7063a07f5 /src/lib/Server
parent504cf78303db85239d01643c1aeadca21e0f9fa3 (diff)
downloadbcfg2-924dbb3eee87e7763b4aeef380d7f14d7bf470a6.tar.gz
bcfg2-924dbb3eee87e7763b4aeef380d7f14d7bf470a6.tar.bz2
bcfg2-924dbb3eee87e7763b4aeef380d7f14d7bf470a6.zip
one more fix
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5100 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server')
-rw-r--r--src/lib/Server/Admin/Snapshots.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Admin/Snapshots.py b/src/lib/Server/Admin/Snapshots.py
index 23b91e1bc..e01c01a29 100644
--- a/src/lib/Server/Admin/Snapshots.py
+++ b/src/lib/Server/Admin/Snapshots.py
@@ -32,7 +32,7 @@ class Snapshots(Bcfg2.Server.Admin.Mode):
engine = sqlalchemy.create_engine(dbpath, echo=True)
metadata = Base.metadata
metadata.create_all(engine)
- Session = sessionmaker()
+ Session = sqlalchemy.orm.sessionmaker()
Session.configure(bind=engine)
session = Session()
session.commit()