Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9345613
D2648.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
561 B
Subscribers
None
D2648.diff
View Options
diff --git a/swh/core/db/__init__.py b/swh/core/db/__init__.py
--- a/swh/core/db/__init__.py
+++ b/swh/core/db/__init__.py
@@ -186,8 +186,8 @@
item_cb(d)
line = []
for k in columns:
+ value = d.get(k, default_values.get(k))
try:
- value = d.get(k, default_values.get(k))
line.append(escape(value))
except Exception as e:
logger.error(
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 3, 3:27 PM (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3214091
Attached To
D2648: Move unrelated line out of try block.
Event Timeline
Log In to Comment