windows doesn't like ':' in filesc 3.5
authorAurelien Campeas
Fri, 11 Sep 2009 18:24:47 +0200
branch3.5
changeset 3192 93c8fdcd943e
parent 3184 613064b49331
child 3198 d2f48d30e73e
child 3201 8af05e82510c
windows doesn't like ':' in filesc
server/migractions.py
--- a/server/migractions.py	Fri Sep 11 15:55:15 2009 +0200
+++ b/server/migractions.py	Fri Sep 11 18:24:47 2009 +0200
@@ -116,7 +116,7 @@
         config = self.config
         repo = self.repo_connect()
         # paths
-        timestamp = datetime.now().strftime('%Y-%m-%d_%H:%M:%S')
+        timestamp = datetime.now().strftime('%Y-%m-%d_%H-%M-%S')
         instbkdir = osp.join(config.appdatahome, 'backup')
         if not osp.exists(instbkdir):
             os.makedirs(instbkdir)