From: anthonybaxter Date: Tue, 28 Aug 2001 05:58:33 +0000 (+0000) Subject: added missing 'import' statements. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d0f27bdaff20ff7461f0dafe79487075e3b99873;p=roundup.git added missing 'import' statements. git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@242 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/roundup-admin b/roundup-admin index 13b2047..d110ebc 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.16 2001-08-12 06:32:36 richard Exp $ +# $Id: roundup-admin,v 1.17 2001-08-28 05:58:33 anthonybaxter Exp $ import sys if int(sys.version[0]) < 2: @@ -163,6 +163,8 @@ def do_set(db, args): Sets the property to the value for all designators given. ''' + from roundup import hyperdb + designators = string.split(args[0], ',') props = {} for prop in args[1:]: @@ -231,6 +233,8 @@ def do_create(db, args): name=value arguments provided on the command line after the "create" command. ''' + from roundup import hyperdb + classname = args[0] cl = db.getclass(classname) props = {} @@ -422,6 +426,9 @@ if __name__ == '__main__': # # $Log: not supported by cvs2svn $ +# Revision 1.16 2001/08/12 06:32:36 richard +# using isinstance(blah, Foo) now instead of isFooType +# # Revision 1.15 2001/08/07 00:24:42 richard # stupid typo #