From: richard Date: Mon, 1 Oct 2001 06:40:43 +0000 (+0000) Subject: made do_get have the args in the correct order X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c16881d31919a65f333c63a8ba0b64a525e216b3;p=roundup.git made do_get have the args in the correct order git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@269 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/roundup-admin b/roundup-admin index f69009f..a29c055 100755 --- a/roundup-admin +++ b/roundup-admin @@ -16,7 +16,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: roundup-admin,v 1.18 2001-09-18 22:58:37 richard Exp $ +# $Id: roundup-admin,v 1.19 2001-10-01 06:40:43 richard Exp $ import sys if int(sys.version[0]) < 2: @@ -150,8 +150,8 @@ def do_get(db, args): Retrieves the property value of the nodes specified by the designators. ''' - designators = string.split(args[0], ',') - propname = args[1] + propname = args[0] + designators = string.split(args[1], ',') # TODO: handle the -c option for designator in designators: classname, nodeid = roundupdb.splitDesignator(designator) @@ -428,6 +428,10 @@ if __name__ == '__main__': # # $Log: not supported by cvs2svn $ +# Revision 1.18 2001/09/18 22:58:37 richard +# +# Added some more help to roundu-admin +# # Revision 1.17 2001/08/28 05:58:33 anthonybaxter # added missing 'import' statements. #