comparison roundup/admin.py @ 2450:c45ed2413044

fixed lookup of "missing" Link values for new props in anydbm backend
author Richard Jones <richard@users.sourceforge.net>
date Sun, 13 Jun 2004 00:27:45 +0000
parents e128fd807054
children ea7fb2f416db
comparison
equal deleted inserted replaced
2449:706031763266 2450:c45ed2413044
14 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 14 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
15 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" 15 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS"
16 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, 16 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
17 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. 17 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
18 # 18 #
19 # $Id: admin.py,v 1.71 2004-05-18 19:29:21 a1s Exp $ 19 # $Id: admin.py,v 1.72 2004-06-13 00:27:45 richard Exp $
20 20
21 '''Administration commands for maintaining Roundup trackers. 21 '''Administration commands for maintaining Roundup trackers.
22 ''' 22 '''
23 __docformat__ = 'restructuredtext' 23 __docformat__ = 'restructuredtext'
24 24
715 # display the values 715 # display the values
716 keys = cl.properties.keys() 716 keys = cl.properties.keys()
717 keys.sort() 717 keys.sort()
718 for key in keys: 718 for key in keys:
719 value = cl.get(nodeid, key) 719 value = cl.get(nodeid, key)
720 print _('%(key)s: %(value)s')%locals() 720 print _('%(key)s: %(value)r')%locals()
721 721
722 def do_create(self, args, pwre = re.compile(r'{(\w+)}(.+)')): 722 def do_create(self, args, pwre = re.compile(r'{(\w+)}(.+)')):
723 ""'''Usage: create classname property=value ... 723 ""'''Usage: create classname property=value ...
724 Create a new entry of a given class. 724 Create a new entry of a given class.
725 725

Roundup Issue Tracker: http://roundup-tracker.org/