changeset 831:cc428947a283 0.6.x

0.6dev: Merged [908] from trunk.
author osimons
date Sun, 26 Sep 2010 16:47:12 +0000
parents f6eef3e25b6d
children f4d07544722b
files bitten/main.py bitten/tests/queue.py
diffstat 2 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/bitten/main.py
+++ b/bitten/main.py
@@ -46,10 +46,6 @@
         cursor.execute("INSERT INTO system (name,value) "
                        "VALUES ('bitten_version',%s)", (schema_version,))
 
-        # Create the directory for storing snapshot archives
-        snapshots_dir = os.path.join(self.env.path, 'snapshots')
-        os.mkdir(snapshots_dir)
-
         db.commit()
 
     def environment_needs_upgrade(self, db):
--- a/bitten/tests/queue.py
+++ b/bitten/tests/queue.py
@@ -128,7 +128,6 @@
     def setUp(self):
         self.env = EnvironmentStub()
         self.env.path = tempfile.mkdtemp()
-        os.mkdir(os.path.join(self.env.path, 'snapshots'))
 
         db = self.env.get_db_cnx()
         cursor = db.cursor()
Copyright (C) 2012-2017 Edgewall Software