|
16 | 16 | # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, |
17 | 17 | # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
18 | 18 | # |
19 | | -# $Id: roundup-admin,v 1.40 2001-11-08 04:42:00 richard Exp $ |
| 19 | +# $Id: roundup-admin,v 1.41 2001-11-09 01:25:40 richard Exp $ |
20 | 20 |
|
21 | 21 | import sys |
22 | 22 | if int(sys.version[0]) < 2: |
@@ -318,9 +318,9 @@ Command help: |
318 | 318 |
|
319 | 319 | # now do the find |
320 | 320 | if self.comma_sep: |
321 | | - print ','.join(cl.find(**{propname: value})) |
| 321 | + print ','.join(apply(cl.find, (), {propname: value})) |
322 | 322 | else: |
323 | | - print cl.find(**{propname: value}) |
| 323 | + print apply(cl.find, (), {propname: value}) |
324 | 324 | return 0 |
325 | 325 |
|
326 | 326 | def do_specification(self, args): |
@@ -725,6 +725,10 @@ if __name__ == '__main__': |
725 | 725 |
|
726 | 726 | # |
727 | 727 | # $Log: not supported by cvs2svn $ |
| 728 | +# Revision 1.40 2001/11/08 04:42:00 richard |
| 729 | +# Expanded the already-abbreviated "initialise" and "specification" commands, |
| 730 | +# and added a comment to the command help about the abbreviation. |
| 731 | +# |
728 | 732 | # Revision 1.39 2001/11/08 04:29:59 richard |
729 | 733 | # roundup-admin now accepts abbreviated commands (eg. l = li = lis = list) |
730 | 734 | # [thanks Engelbert Gruber for the inspiration] |
|
0 commit comments