Additional python PEP 8 fixes

This commit is contained in:
Gaute Lindkvist
2019-09-23 15:26:49 +02:00
parent 10a532a3b5
commit 0125b13241
5 changed files with 12 additions and 2 deletions

View File

@@ -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")