flake warnings (#304)

This commit is contained in:
Bruno Cabral
2022-12-12 02:44:27 -08:00
committed by GitHub
parent f10a3f1d1a
commit fb4109bd77
67 changed files with 252 additions and 248 deletions

View File

@@ -17,7 +17,7 @@ class CallAsUser:
try:
os.setuid(getpwnam(self._user).pw_uid)
return self._target()
except:
except Exception:
traceback.print_exc()
@@ -33,7 +33,7 @@ class WriteToFile:
f.write(self._content)
return True
except:
except Exception:
traceback.print_exc()
return False