Bug 3011: change old-style classes to new-style classes
svn: r12559
This commit is contained in:
@@ -95,7 +95,7 @@ def importData(database, filename, cb=None):
|
||||
# For a description of the file format see
|
||||
# http://cristal.inria.fr/~ddr/GeneWeb/en/gwformat.htm
|
||||
#-------------------------------------------------------------------------
|
||||
class GeneWebParser:
|
||||
class GeneWebParser(object):
|
||||
def __init__(self, dbase, file):
|
||||
self.db = dbase
|
||||
self.f = open(file,"rU")
|
||||
|
||||
Reference in New Issue
Block a user