mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
pep8
This commit is contained in:
1 parent
1db1a543c7
commit
d6ab44d18e
3 files changed
+3
-3
No files matched your search
@@ -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"
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in new issue
Block a user