mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#6322 Fix Python 3.8 problems
* Change base PdmObject class name to PdmObjectBase to avoid name conflicts * Make all import paths relative
This commit is contained in:
committed by
Kristian Bendiksen
parent
b741359696
commit
454e7f17a0
@@ -3,11 +3,11 @@ ResInsight 3d view module
|
||||
"""
|
||||
|
||||
import builtins
|
||||
import rips.generated.Commands_pb2 as Cmd
|
||||
import Commands_pb2 as Cmd
|
||||
|
||||
import rips.case # Circular import of Case, which already imports View. Use full name.
|
||||
from rips.pdmobject import add_method
|
||||
from rips.generated.pdm_objects import View, ViewWindow, EclipseView, GeoMechView
|
||||
from .pdmobject import add_method
|
||||
from pdm_objects import View, ViewWindow, EclipseView, GeoMechView
|
||||
|
||||
|
||||
@add_method(View)
|
||||
|
||||
Reference in New Issue
Block a user