mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Additional python PEP 8 fixes
This commit is contained in:
@@ -15,10 +15,9 @@ class View(PdmObject):
|
||||
|
||||
"""
|
||||
def __init__(self, pdm_object):
|
||||
PdmObject.__init__(self, pdm_object.pb2_object(), pdm_object.channel())
|
||||
self.view_id = pdm_object.get_value("ViewId")
|
||||
|
||||
PdmObject.__init__(self, pdm_object._pb2_object, pdm_object._channel)
|
||||
|
||||
def show_grid_box(self):
|
||||
"""Check if the grid box is meant to be shown in the view"""
|
||||
return self.get_value("ShowGridBox")
|
||||
|
||||
Reference in New Issue
Block a user