Skip to content

Commit

Permalink
Remove deprecated COVER_X constants
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Aug 14, 2018
1 parent 21ccdeb commit d1d1731
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions pylast/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,11 @@
DOMAIN_JAPANESE = 10
DOMAIN_CHINESE = 11

# COVER_X is deprecated since 2.1.0 and will be removed in a future version
SIZE_SMALL = COVER_SMALL = 0
SIZE_MEDIUM = COVER_MEDIUM = 1
SIZE_LARGE = COVER_LARGE = 2
SIZE_EXTRA_LARGE = COVER_EXTRA_LARGE = 3
SIZE_MEGA = COVER_MEGA = 4
SIZE_SMALL = 0
SIZE_MEDIUM = 1
SIZE_LARGE = 2
SIZE_EXTRA_LARGE = 3
SIZE_MEGA = 4

IMAGES_ORDER_POPULARITY = "popularity"
IMAGES_ORDER_DATE = "dateadded"
Expand Down

0 comments on commit d1d1731

Please sign in to comment.