Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9696442
D8207.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
548 B
Subscribers
None
D8207.diff
View Options
diff --git a/swh/loader/core/loader.py b/swh/loader/core/loader.py
--- a/swh/loader/core/loader.py
+++ b/swh/loader/core/loader.py
@@ -376,9 +376,11 @@
total_time_process_data = 0.0
total_time_store_data = 0.0
+ # Initially not a success, will be True when actually one
+ status = "failed"
+ success = False
+
try:
- # Initially not a success, will be True when actually one
- success = False
with self.statsd_timed("prepare"):
self.prepare()
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Aug 17, 8:04 PM (6 d, 21 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3217789
Attached To
D8207: Initialize 'status' before try block
Event Timeline
Log In to Comment