Skip to content

Commit

Permalink
Remove two outdated patches. A better world trip patch is coming soon.
Browse files Browse the repository at this point in the history
  • Loading branch information
mayhem committed Apr 11, 2024
1 parent 6d44a72 commit a5cfedb
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 301 deletions.
2 changes: 0 additions & 2 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ def test_discover_patches(self):
patches = discover_patches()

assert "periodic-jams" in patches
assert "weekly-flashback-jams" in patches
assert "playlist-from-mbids" in patches
assert "world-trip" in patches
assert "recs-to-playlist" in patches
assert "transfer-playlist" in patches

Expand Down
2 changes: 1 addition & 1 deletion troi/patches/periodic_jams.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def create(self, inputs):
else:
jam_types = jam_type.lower()
if jam_type not in self.JAM_TYPES:
raise RuntimeError("Jam type must be one of %s" % ", ".join(jam_types))
raise RuntimeError("Jam type must be one of %s" % ", ".join(self.JAM_TYPES))

recs = troi.listenbrainz.recs.UserRecordingRecommendationsElement(user_name,
"raw",
Expand Down
124 changes: 0 additions & 124 deletions troi/patches/weekly_flashback_jams.py

This file was deleted.

174 changes: 0 additions & 174 deletions troi/patches/world_trip.py

This file was deleted.

0 comments on commit a5cfedb

Please sign in to comment.