Mercurial > p > roundup > code
comparison roundup/admin.py @ 1493:e07c304503c3
more info in the "set" command
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Thu, 06 Mar 2003 06:06:49 +0000 |
| parents | b3f2484babce |
| children | e6ac4e074acb |
comparison
equal
deleted
inserted
replaced
| 1492:2fc7d4a8c9e7 | 1493:e07c304503c3 |
|---|---|
| 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.40 2003-02-28 03:33:46 richard Exp $ | 19 # $Id: admin.py,v 1.41 2003-03-06 06:06:49 richard Exp $ |
| 20 | 20 |
| 21 '''Administration commands for maintaining Roundup trackers. | 21 '''Administration commands for maintaining Roundup trackers. |
| 22 ''' | 22 ''' |
| 23 | 23 |
| 24 import sys, os, getpass, getopt, re, UserDict, shlex, shutil | 24 import sys, os, getpass, getopt, re, UserDict, shlex, shutil |
| 443 The items may be specified as a class or as a comma-separeted | 443 The items may be specified as a class or as a comma-separeted |
| 444 list of item designators (ie "designator[,designator,...]"). | 444 list of item designators (ie "designator[,designator,...]"). |
| 445 | 445 |
| 446 This command sets the properties to the values for all designators | 446 This command sets the properties to the values for all designators |
| 447 given. If the value is missing (ie. "property=") then the property is | 447 given. If the value is missing (ie. "property=") then the property is |
| 448 un-set. | 448 un-set. If the property is a multilink, you specify the linked ids |
| 449 for the multilink as comma-separated numbers (ie "1,2,3"). | |
| 449 ''' | 450 ''' |
| 450 if len(args) < 2: | 451 if len(args) < 2: |
| 451 raise UsageError, _('Not enough arguments supplied') | 452 raise UsageError, _('Not enough arguments supplied') |
| 452 from roundup import hyperdb | 453 from roundup import hyperdb |
| 453 | 454 |
