/usr/lib/python3/dist-packages/recurrence/choices.py is in python3-django-recurrence 1.2.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | from django.utils.translation import ugettext_lazy as _
import recurrence
FREQUENCY_CHOICES = (
(recurrence.SECONDLY, _('Secondly')),
(recurrence.MINUTELY, _('Minutely')),
(recurrence.HOURLY, _('Hourly')),
(recurrence.DAILY, _('Daily')),
(recurrence.WEEKLY, _('Weekly')),
(recurrence.MONTHLY, _('Monthly')),
(recurrence.YEARLY, _('Yearly')),
)
WEEKDAY_CHOICES = (
(recurrence.MONDAY, _('Monday')),
(recurrence.TUESDAY, _('Tuesday')),
(recurrence.WEDNESDAY, _('Wednesday')),
(recurrence.THURSDAY, _('Thursday')),
(recurrence.FRIDAY, _('Friday')),
(recurrence.SATURDAY, _('Saturday')),
(recurrence.SUNDAY, _('Sunday')),
)
MONTH_CHOICES = (
(recurrence.JANUARY, _('January')),
(recurrence.FEBRUARY, _('February')),
(recurrence.MARCH, _('March')),
(recurrence.APRIL, _('April')),
(recurrence.MAY, _('May')),
(recurrence.JUNE, _('June')),
(recurrence.JULY, _('July')),
(recurrence.AUGUST, _('August')),
(recurrence.SEPTEMBER, _('September')),
(recurrence.OCTOBER, _('October')),
(recurrence.NOVEMBER, _('November')),
(recurrence.DECEMBER, _('December')),
)
EXCLUSION = False
INCLUSION = True
MODE_CHOICES = (
(INCLUSION, _('Inclusion')),
(EXCLUSION, _('Exclusion')),
)
|