Skip to content

Commit

Permalink
lint: Remove ';' at the end of statements
Browse files Browse the repository at this point in the history
Habits die hard!

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
  • Loading branch information
Damien Lespiau committed Oct 29, 2015
1 parent 36ca1c2 commit eb995e8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion patchwork/bin/parsemail.py
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ def parse_mail(mail):

hint = mail.get('X-Patchwork-Hint', '').lower()
if hint == 'ignore':
return 0;
return 0

project = find_project(mail)
if project is None:
Expand Down
2 changes: 1 addition & 1 deletion patchwork/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def _form(self):
str += '<option value="%d" %s>%s</option>' % \
(state.id, selected, state.name)
str += '</select>'
return mark_safe(str);
return mark_safe(str)

def form_function(self):
return 'function(form) { return form.x.value }'
Expand Down
2 changes: 1 addition & 1 deletion patchwork/views/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def register(request):
user = auth.models.User.objects.create_user(data['username'],
data['email'],
data['password'])
user.is_active = False;
user.is_active = False
user.first_name = data.get('first_name', '')
user.last_name = data.get('last_name', '')
user.save()
Expand Down

0 comments on commit eb995e8

Please sign in to comment.