pamhyr: Fix pep8.

This commit is contained in:
Pierre-Antoine Rouby committed 2024-07-30 09:00:51 +02:00
1 parent 328f5656bf
commit 5525fff1fe
7 files changed
+18 -11

No files matched your search

+3 -1
View File
@@ -75,6 +75,7 @@ class Friction(SQLSubModel):
cls._db_update_to_0_1_0(execute, data)
return cls._update_submodel(execute, version, data)
@classmethod
def _db_update_to_0_1_0(cls, execute, data):
table = "friction"
@@ -125,7 +126,8 @@ class Friction(SQLSubModel):
if int(begin_strickler_pid) != -1:
begin_strickler = next(
filter(
lambda s: s.pamhyr_id == begin_strickler_pid, stricklers
lambda s: s.pamhyr_id == begin_strickler_pid,
stricklers
)
)