Page MenuHomeSoftware Heritage

D7289.id.diff
No OneTemporary

D7289.id.diff

diff --git a/swh/objstorage/api/server.py b/swh/objstorage/api/server.py
--- a/swh/objstorage/api/server.py
+++ b/swh/objstorage/api/server.py
@@ -43,7 +43,7 @@
def get_objstorage():
global objstorage
- if not objstorage:
+ if objstorage is None:
objstorage = get_swhobjstorage(**app.config["objstorage"])
return objstorage

File Metadata

Mime Type
text/plain
Expires
Nov 5 2024, 7:14 AM (10 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3227473

Event Timeline