[Collab-qa-commits] r1215 - udd/src
lucas at alioth.debian.org
lucas at alioth.debian.org
Sun Sep 7 17:13:25 UTC 2008
Author: lucas
Date: 2008-09-07 17:13:25 +0000 (Sun, 07 Sep 2008)
New Revision: 1215
Modified:
udd/src/config.yaml
udd/src/test.yaml
udd/src/udd.py
Log:
rename timestamp-folder to timestamp-dir
Modified: udd/src/config.yaml
===================================================================
--- udd/src/config.yaml 2008-09-07 16:57:32 UTC (rev 1214)
+++ udd/src/config.yaml 2008-09-07 17:13:25 UTC (rev 1215)
@@ -14,7 +14,7 @@
carnivore: module udd.carnivore_gatherer
lintian: module udd.lintian_gatherer
debug: 1
- timestamp-folder: /org/udd.debian.net/timestamps/
+ timestamp-dir: /org/udd.debian.net/timestamps
schema-dir: /org/udd.debian.net/udd/src/schema
lock-dir: /org/udd.debian.net/locks
Modified: udd/src/test.yaml
===================================================================
--- udd/src/test.yaml 2008-09-07 16:57:32 UTC (rev 1214)
+++ udd/src/test.yaml 2008-09-07 17:13:25 UTC (rev 1215)
@@ -14,7 +14,7 @@
carnivore: module udd.carnivore_gatherer
lintian: module udd.lintian_gatherer
debug: 1
- timestamp-folder: /org/udd.debian.net/timestamps/
+ timestamp-dir: /org/udd.debian.net/timestamps
schema-dir: /org/udd.debian.net/udd/src/schema
lock-dir: /org/udd.debian.net/locks
Modified: udd/src/udd.py
===================================================================
--- udd/src/udd.py 2008-09-07 16:57:32 UTC (rev 1214)
+++ udd/src/udd.py 2008-09-07 17:13:25 UTC (rev 1215)
@@ -43,8 +43,8 @@
result = system(src_config['update-command'])
if result != 0:
sys.exit(result)
- if 'timestamp-folder' in config['general']:
- f = open(os.path.join(config['general']['timestamp-folder'], src+".update"), "w")
+ if 'timestamp-dir' in config['general']:
+ f = open(os.path.join(config['general']['timestamp-dir'], src+".update"), "w")
f.write(asctime())
f.close()
elif command == 'schema':
@@ -65,8 +65,8 @@
print "\n".join(tables)
else:
exec "gatherer.%s()" % command
- if 'timestamp-folder' in config['general']:
- f = open(os.path.join(config['general']['timestamp-folder'], src+".dispatch"), "w")
+ if 'timestamp-dir' in config['general']:
+ f = open(os.path.join(config['general']['timestamp-dir'], src+".dispatch"), "w")
f.write(asctime())
f.close()
except:
More information about the Collab-qa-commits
mailing list