diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2009-03-02 04:16:47 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2009-03-02 04:16:47 +0000 |
commit | 0f0039aff8f6d764ab9fb26da107d5b284329d3c (patch) | |
tree | 4e020dedc2aaf63e849aa370fd92dd33fc049beb /src/lib/Server/Snapshots | |
parent | 1ede4e73243f4e8f7469dc92e89cf4dcabfbc8dc (diff) | |
download | bcfg2-0f0039aff8f6d764ab9fb26da107d5b284329d3c.tar.gz bcfg2-0f0039aff8f6d764ab9fb26da107d5b284329d3c.tar.bz2 bcfg2-0f0039aff8f6d764ab9fb26da107d5b284329d3c.zip |
remove dead code from the snapshots model
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5094 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Snapshots')
-rw-r--r-- | src/lib/Server/Snapshots/model.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/lib/Server/Snapshots/model.py b/src/lib/Server/Snapshots/model.py index 97331ffbf..b9dff0501 100644 --- a/src/lib/Server/Snapshots/model.py +++ b/src/lib/Server/Snapshots/model.py @@ -211,10 +211,3 @@ class Snapshot(Base): snap.extra_packages.append(extra_pkg) return snap -if __name__ == '__main__': - engine = create_engine('sqlite:////tmp/snapshots.db', echo=True) - metadata = Base.metadata - metadata.create_all(engine) - Session = sessionmaker() - Session.configure(bind=engine) - session = Session() |