add SIM lint
This commit is contained in:
@@ -279,7 +279,7 @@ class VMObject(GObject.Object):
|
||||
|
||||
if not self._log_file:
|
||||
try:
|
||||
self._log_file = open(proc.out_file)
|
||||
self._log_file = open(proc.out_file) # noqa: SIM115
|
||||
except Exception as ex:
|
||||
log.exception(ex)
|
||||
self._log_file = None
|
||||
|
||||
Reference in New Issue
Block a user