Skip to content

Commit d857fc4

Browse files
author
Richard Jones
committed
made do_get have the args in the correct order
1 parent 4bd35fc commit d857fc4

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.18 2001-09-18 22:58:37 richard Exp $
19+
# $Id: roundup-admin,v 1.19 2001-10-01 06:40:43 richard Exp $
2020

2121
import sys
2222
if int(sys.version[0]) < 2:
@@ -150,8 +150,8 @@ def do_get(db, args):
150150
151151
Retrieves the property value of the nodes specified by the designators.
152152
'''
153-
designators = string.split(args[0], ',')
154-
propname = args[1]
153+
propname = args[0]
154+
designators = string.split(args[1], ',')
155155
# TODO: handle the -c option
156156
for designator in designators:
157157
classname, nodeid = roundupdb.splitDesignator(designator)
@@ -428,6 +428,10 @@ if __name__ == '__main__':
428428

429429
#
430430
# $Log: not supported by cvs2svn $
431+
# Revision 1.18 2001/09/18 22:58:37 richard
432+
#
433+
# Added some more help to roundu-admin
434+
#
431435
# Revision 1.17 2001/08/28 05:58:33 anthonybaxter
432436
# added missing 'import' statements.
433437
#

0 commit comments

Comments
 (0)