In Stratus.st_model, make Model derive from object.

This commit is contained in:
Jean-Paul Chaput 2021-11-21 19:37:32 +01:00
parent 5bf80a95d0
commit 972ed1be20
1 changed files with 4 additions and 1 deletions

View File

@ -42,7 +42,7 @@ def setEditor ( editor ):
#######################
##### Class Model #####
#######################
class Model() :
class Model ( object ) :
##########################
##### Initialisation #####
@ -436,6 +436,9 @@ class Model() :
if stopLevel > 0:
Breakpoint.stop ( stopLevel, message )
def getCell ( self ):
return self._hur_cell
##### Save : in order to create the output files #####
def Save ( self, views = 0, fileName = None ) :
global FRAMEWORK