|
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.16 2001-08-12 06:32:36 richard Exp $ |
| 19 | +# $Id: roundup-admin,v 1.17 2001-08-28 05:58:33 anthonybaxter Exp $ |
20 | 20 |
|
21 | 21 | import sys |
22 | 22 | if int(sys.version[0]) < 2: |
@@ -163,6 +163,8 @@ def do_set(db, args): |
163 | 163 |
|
164 | 164 | Sets the property to the value for all designators given. |
165 | 165 | ''' |
| 166 | + from roundup import hyperdb |
| 167 | + |
166 | 168 | designators = string.split(args[0], ',') |
167 | 169 | props = {} |
168 | 170 | for prop in args[1:]: |
@@ -231,6 +233,8 @@ def do_create(db, args): |
231 | 233 | name=value arguments provided on the command line after the "create" |
232 | 234 | command. |
233 | 235 | ''' |
| 236 | + from roundup import hyperdb |
| 237 | + |
234 | 238 | classname = args[0] |
235 | 239 | cl = db.getclass(classname) |
236 | 240 | props = {} |
@@ -422,6 +426,9 @@ if __name__ == '__main__': |
422 | 426 |
|
423 | 427 | # |
424 | 428 | # $Log: not supported by cvs2svn $ |
| 429 | +# Revision 1.16 2001/08/12 06:32:36 richard |
| 430 | +# using isinstance(blah, Foo) now instead of isFooType |
| 431 | +# |
425 | 432 | # Revision 1.15 2001/08/07 00:24:42 richard |
426 | 433 | # stupid typo |
427 | 434 | # |
|
0 commit comments