Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9343236
D2053.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
493 B
Subscribers
None
D2053.diff
View Options
diff --git a/swh/indexer/indexer.py b/swh/indexer/indexer.py
--- a/swh/indexer/indexer.py
+++ b/swh/indexer/indexer.py
@@ -13,11 +13,7 @@
from contextlib import contextmanager
from swh.scheduler import get_scheduler
-try:
- from swh.scheduler import CONFIG as SWH_CONFIG
-except ImportError:
- # for swh-scheduler < 0.0.47 bw compat
- SWH_CONFIG = None
+from swh.scheduler import CONFIG as SWH_CONFIG
from swh.storage import get_storage
from swh.core.config import SWHConfig
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 3, 1:22 PM (1 w, 4 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3219907
Attached To
D2053: indexer.py: remove scheduler < 0.0.47 backward compatibility code
Event Timeline
Log In to Comment