comparison roundup/admin.py @ 3383:c1c67c62b699

applied patch [SF#236087]
author Richard Jones <richard@users.sourceforge.net>
date Tue, 12 Jul 2005 01:37:50 +0000
parents cf9149fd3c6d
children 2affe8fa51a5
comparison
equal deleted inserted replaced
3382:c9d8b1385af7 3383:c1c67c62b699
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.95 2005-06-24 05:32:56 richard Exp $ 19 # $Id: admin.py,v 1.96 2005-07-12 01:37:49 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
569 print self.separator.join(l) 569 print self.separator.join(l)
570 570
571 return 0 571 return 0
572 572
573 573
574 def do_set(self, args, pwre = re.compile(r'{(\w+)}(.+)')): 574 def do_set(self, args):
575 ""'''Usage: set items property=value property=value ... 575 ""'''Usage: set items property=value property=value ...
576 Set the given properties of one or more items(s). 576 Set the given properties of one or more items(s).
577 577
578 The items are specified as a class or as a comma-separated 578 The items are specified as a class or as a comma-separated
579 list of item designators (ie "designator[,designator,...]"). 579 list of item designators (ie "designator[,designator,...]").
730 keys.sort() 730 keys.sort()
731 for key in keys: 731 for key in keys:
732 value = cl.get(nodeid, key) 732 value = cl.get(nodeid, key)
733 print _('%(key)s: %(value)r')%locals() 733 print _('%(key)s: %(value)r')%locals()
734 734
735 def do_create(self, args, pwre = re.compile(r'{(\w+)}(.+)')): 735 def do_create(self, args):
736 ""'''Usage: create classname property=value ... 736 ""'''Usage: create classname property=value ...
737 Create a new entry of a given class. 737 Create a new entry of a given class.
738 738
739 This creates a new entry of the given class using the property 739 This creates a new entry of the given class using the property
740 name=value arguments provided on the command line after the "create" 740 name=value arguments provided on the command line after the "create"

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