Skip to content

Commit 00751d4

Browse files
author
Anthony Baxter
committed
added missing 'import' statements.
1 parent 8b1afe2 commit 00751d4

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

roundup-admin

Lines changed: 8 additions & 1 deletion
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.16 2001-08-12 06:32:36 richard Exp $
19+
# $Id: roundup-admin,v 1.17 2001-08-28 05:58:33 anthonybaxter Exp $
2020

2121
import sys
2222
if int(sys.version[0]) < 2:
@@ -163,6 +163,8 @@ def do_set(db, args):
163163
164164
Sets the property to the value for all designators given.
165165
'''
166+
from roundup import hyperdb
167+
166168
designators = string.split(args[0], ',')
167169
props = {}
168170
for prop in args[1:]:
@@ -231,6 +233,8 @@ def do_create(db, args):
231233
name=value arguments provided on the command line after the "create"
232234
command.
233235
'''
236+
from roundup import hyperdb
237+
234238
classname = args[0]
235239
cl = db.getclass(classname)
236240
props = {}
@@ -422,6 +426,9 @@ if __name__ == '__main__':
422426

423427
#
424428
# $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+
#
425432
# Revision 1.15 2001/08/07 00:24:42 richard
426433
# stupid typo
427434
#

0 commit comments

Comments
 (0)