mirror of https://gitlab.com/pamhyr/pamhyr2
pamhyr: Fix Pep8.
parent
76e4f4b80e
commit
a18fd29795
|
|
@ -202,7 +202,8 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit):
|
||||||
"action_menu_edit_network": self.open_network,
|
"action_menu_edit_network": self.open_network,
|
||||||
"action_menu_edit_geometry": self.open_geometry,
|
"action_menu_edit_geometry": self.open_geometry,
|
||||||
"action_menu_boundary_conditions": self.open_boundary_cond,
|
"action_menu_boundary_conditions": self.open_boundary_cond,
|
||||||
"action_menu_boundary_conditions_sediment": self.open_boundary_cond_sed,
|
"action_menu_boundary_conditions_sediment":
|
||||||
|
self.open_boundary_cond_sed,
|
||||||
"action_menu_edit_reservoirs": self.open_reservoir,
|
"action_menu_edit_reservoirs": self.open_reservoir,
|
||||||
"action_menu_edit_hydraulic_structures":
|
"action_menu_edit_hydraulic_structures":
|
||||||
self.open_hydraulic_structures,
|
self.open_hydraulic_structures,
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,9 @@ class CommonWordTranslate(PamhyrTranslate):
|
||||||
self._dict["floodway"] = _translate("CommonWord", "Floodway")
|
self._dict["floodway"] = _translate("CommonWord", "Floodway")
|
||||||
|
|
||||||
self._dict["not_defined"] = _translate("CommonWord", "Not defined")
|
self._dict["not_defined"] = _translate("CommonWord", "Not defined")
|
||||||
self._dict["not_associated"] = _translate("CommonWord", "Not associated")
|
self._dict["not_associated"] = _translate(
|
||||||
|
"CommonWord", "Not associated"
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
class UnitTranslate(CommonWordTranslate):
|
class UnitTranslate(CommonWordTranslate):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue