Skip to content

Commit 5c6d391

Browse files
committed
PEP8
1 parent f3f5282 commit 5c6d391

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

djangoplugins/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
from __future__ import absolute_import
1+
from __future__ import absolute_import

djangoplugins/models.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,10 @@ def get_plugin(self):
109109
def save(self, *args, **kwargs):
110110
if "status" in self.get_dirty_fields().keys() and self.pk:
111111
if self.status in STATUS_CHOICES_ENABLED:
112-
django_plugin_enabled.send(sender=self.__class__, plugin=self.get_plugin())
112+
django_plugin_enabled.send(sender=self.__class__,
113+
plugin=self.get_plugin())
113114
else:
114-
django_plugin_disabled.send(sender=self.__class__, plugin=self.get_plugin())
115+
django_plugin_disabled.send(sender=self.__class__,
116+
plugin=self.get_plugin())
115117

116118
return super(Plugin, self).save(*args, **kwargs)

0 commit comments

Comments
 (0)