Mercurial > bitten > bitten-test
changeset 140:75a6af157f05
Actually create the snapshots directory when the Bitten plugin is installed. Fixes #39.
author | cmlenz |
---|---|
date | Thu, 18 Aug 2005 08:53:09 +0000 |
parents | 4289fa18de0f |
children | 0e21778c04ef |
files | bitten/trac_ext/main.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bitten/trac_ext/main.py +++ b/bitten/trac_ext/main.py @@ -47,7 +47,8 @@ "VALUES ('bitten_version',%s)", (schema_version,)) # Create the directory for storing snapshot archives - tarballs_dir = os.path.join(self.env.path, 'snapshots') + snapshots_dir = os.path.join(self.env.path, 'snapshots') + os.mkdir(snapshots_dir) db.commit()