diff --git a/roundup-admin b/roundup-admin
index 1068301a129182091f4d7f2a33f21733bc148e5e..16c38ba8e4f138f52496673545e8867945a76525 100755 (executable)
--- a/roundup-admin
+++ b/roundup-admin
#! /usr/bin/python
-# $Id: roundup-admin,v 1.1 2001-07-23 03:46:48 richard Exp $
+# $Id: roundup-admin,v 1.2 2001-07-23 08:20:44 richard Exp $
import sys
if int(sys.version[0]) < 2:
classname, nodeid = roundupdb.splitDesignator(designator)
db.getclass(classname).retire(nodeid)
+ elif command == 'freshen':
+ n, db = determineLogin(instance, argv, n)
+ for classname, cl in db.classes.items():
+ properties = cl.properties.keys()
+ for nodeid in cl.list():
+ node = {}
+ for name in properties:
+ node[name] = cl.get(nodeid, name)
+ db.setnode(classname, nodeid, node)
+
else:
print "Unknown command '%s'"%command
usage()
#
# $Log: not supported by cvs2svn $
+# Revision 1.1 2001/07/23 03:46:48 richard
+# moving the bin files to facilitate out-of-the-boxness
+#
# Revision 1.1 2001/07/22 11:15:45 richard
# More Grande Splite stuff
#