Skip to content

Commit 0d71eae

Browse files
committed
Minor style fix for line-length
1 parent bb7c03c commit 0d71eae

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/impactlab_tools/utils/paralog.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,9 @@ def claim(self, dirpath):
101101
status_path = StatusManager.claiming_filepath(dirpath, self.jobname)
102102
try:
103103
with open(status_path, 'w') as fp:
104-
fp.write(f"{os.getpid():d} {self.jobtitle}: {self.logpath}\n")
104+
fp.write(
105+
f"{os.getpid():d} {self.jobtitle}: {self.logpath}\n"
106+
)
105107
except Exception:
106108
print("CAUGHT A WILD EXCEPTION BUT IGNORING IT WITHOUT LOGGING IT!")
107109
return False # Writing error: cannot calim directory

0 commit comments

Comments
 (0)