Author: lucas
Date: 2008-08-08 20:05:06 +0000 (Fri, 08 Aug 2008)
New Revision: 1015

Modified:
   udd/src/udd-dispatch.py
   udd/src/udd-update.py
Log:
also write timestamps after dispatch

Modified: udd/src/udd-dispatch.py
===================================================================
--- udd/src/udd-dispatch.py     2008-08-08 19:38:22 UTC (rev 1014)
+++ udd/src/udd-dispatch.py     2008-08-08 20:05:06 UTC (rev 1015)
@@ -46,3 +46,8 @@
       exec "gatherer = " + rest + ".get_gatherer(connection, config)"
       gatherer.run(src)
     connection.commit()
+    if 'timestamp-folder' in config['general']:
+      f = open(os.path.join(config['general']['update-timestamp-folder'], 
src+".dispatch"), "w")
+      f.write(asctime())
+      f.close()
+

Modified: udd/src/udd-update.py
===================================================================
--- udd/src/udd-update.py       2008-08-08 19:38:22 UTC (rev 1014)
+++ udd/src/udd-update.py       2008-08-08 20:05:06 UTC (rev 1015)
@@ -31,8 +31,8 @@
       result = system(src_cfg['update-command']) 
       if result != 0:
        sys.exit(result)
-      if 'update-timestamp-folder' in config['general']:
-       f = open(os.path.join(config['general']['update-timestamp-folder'], 
src), "w")
+      if 'timestamp-folder' in config['general']:
+       f = open(os.path.join(config['general']['update-timestamp-folder'], 
src+".update"), "w")
        f.write(asctime())
        f.close()
 


_______________________________________________
Collab-qa-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/collab-qa-commits

Reply via email to