Skip to content
This repository has been archived by the owner on May 12, 2022. It is now read-only.

Commit

Permalink
pep8 and pylint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hamzamunir7300 committed Nov 13, 2018
1 parent e2ae3d8 commit b6a5c8a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
7 changes: 1 addition & 6 deletions edx_notifications/base_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,8 @@
import dateutil.parser
import copy
from datetime import datetime, timedelta

import six
from django.utils.functional import SimpleLazyObject, lazy
from django.utils.translation import ugettext, ugettext_lazy
from django.utils.translation import ugettext_lazy
from freezegun.api import FakeDatetime
from django.utils.functional import lazy
from pytz.lazy import LazyDict


class DateTimeWithDeltaCompare(datetime):
Expand Down
2 changes: 1 addition & 1 deletion edx_notifications/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,4 +161,4 @@
settings,
"NOTIFICATION_ENFORCE_SINGLE_DIGEST_PREFERENCE",
True
)
)
2 changes: 1 addition & 1 deletion edx_notifications/stores/sql/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -440,4 +440,4 @@ def archive_deleted_user_notification(sender, instance, *args, **kwargs): # pyl
if const.NOTIFICATION_ARCHIVE_ENABLED:
notification_archive_obj = SQLUserNotificationArchive()
notification_archive_obj.__dict__.update(instance.__dict__)
notification_archive_obj.save()
notification_archive_obj.save()

0 comments on commit b6a5c8a

Please sign in to comment.