mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Get rid of Python class_keyword attribute and fix parameter sending for WBS
This commit is contained in:
@@ -245,7 +245,6 @@ QString PdmPythonGenerator::generate(PdmObjectFactory* factory) const
|
||||
QString(" __custom_init__ = None #: Assign a custom init routine to be run at __init__\n\n");
|
||||
|
||||
classCode += QString(" def __init__(self, pb2_object=None, channel=None):\n");
|
||||
classCode += QString(" self.class_keyword = \"%1\"\n").arg(scriptClassName);
|
||||
if (!scriptSuperClassNames.empty())
|
||||
{
|
||||
// Own attributes. This initializes a lot of attributes to None.
|
||||
|
||||
Reference in New Issue
Block a user