Skip to content

Commit 78f0959

Browse files
author
Richard Jones
committed
Should parse with python 1.5.2 now.
1 parent eb0a953 commit 78f0959

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

roundup-admin

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1717
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1818
#
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 $
2020

2121
import sys
2222
if int(sys.version[0]) < 2:
@@ -318,9 +318,9 @@ Command help:
318318

319319
# now do the find
320320
if self.comma_sep:
321-
print ','.join(cl.find(**{propname: value}))
321+
print ','.join(apply(cl.find, (), {propname: value}))
322322
else:
323-
print cl.find(**{propname: value})
323+
print apply(cl.find, (), {propname: value})
324324
return 0
325325

326326
def do_specification(self, args):
@@ -725,6 +725,10 @@ if __name__ == '__main__':
725725

726726
#
727727
# $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+
#
728732
# Revision 1.39 2001/11/08 04:29:59 richard
729733
# roundup-admin now accepts abbreviated commands (eg. l = li = lis = list)
730734
# [thanks Engelbert Gruber for the inspiration]

0 commit comments

Comments
 (0)