Skip to content

Commit

Permalink
pep8 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
p3dda committed Mar 10, 2015
1 parent 2b13d7a commit fda0475
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions activities/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from django import forms
from activities.models import Activity, Equipment, Event


class UserProfileForm(forms.Form):
PARAMS = [
('sync.imap.enable', forms.BooleanField(required=False)),
Expand All @@ -28,7 +29,6 @@ def __init__(self, user, *args, **kw):
print("KVP: %s:%s" % (param, repr(value)))
self.fields[param].initial = value


def save(self, *args, **kw):
for param in self.changed_data:
value = self.cleaned_data.get(param)
Expand All @@ -50,7 +50,6 @@ def clean(self):
return cleaned_data



class ActivityForm(forms.ModelForm):
class Meta:
def __init__(self):
Expand Down

0 comments on commit fda0475

Please sign in to comment.