mirror of https://gitlab.com/pamhyr/pamhyr2
pep8
parent
1db1a543c7
commit
d6ab44d18e
|
|
@ -320,7 +320,8 @@ class Pollutants(SQLSubModel):
|
||||||
bc=float(data[8]),
|
bc=float(data[8]),
|
||||||
pollutant=self,
|
pollutant=self,
|
||||||
status=self._status
|
status=self._status
|
||||||
)]
|
)
|
||||||
|
]
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def _db_create(cls, execute, ext=""):
|
def _db_create(cls, execute, ext=""):
|
||||||
|
|
|
||||||
|
|
@ -170,7 +170,7 @@ class Rubar3(CommandLineSolver):
|
||||||
it = iter(params)
|
it = iter(params)
|
||||||
|
|
||||||
param = next(it, None)
|
param = next(it, None)
|
||||||
while param != None:
|
while param is not None:
|
||||||
name = param.name
|
name = param.name
|
||||||
value = param.value
|
value = param.value
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -266,7 +266,6 @@ class MainTranslate(UnitTranslate):
|
||||||
"incompatible study version"
|
"incompatible study version"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
self._dict["mb_unsaved_study_title"] = _translate(
|
self._dict["mb_unsaved_study_title"] = _translate(
|
||||||
"MainWindow", "Open scenarios window"
|
"MainWindow", "Open scenarios window"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue