Skip to content

Commit

Permalink
pep8 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhail Sobolev committed Jan 31, 2015
1 parent da7a246 commit a6291c0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 3 additions & 2 deletions master/buildbot/status/web/hooks/github.py
Expand Up @@ -13,11 +13,12 @@
#
# Copyright Buildbot Team Members

from hashlib import sha1
import hmac
import logging
import re

from hashlib import sha1

from dateutil.parser import parse as dateparse
from twisted.python import log

Expand Down Expand Up @@ -149,7 +150,7 @@ def _process_change(self, payload, user, repo, repo_url, project):

change = {
'author': '%s <%s>' % (commit['author']['name'],
commit['author']['email']),
commit['author']['email']),
'files': files,
'comments': commit['message'],
'revision': commit['id'],
Expand Down
3 changes: 2 additions & 1 deletion master/buildbot/status/web/hooks/gitlab.py
Expand Up @@ -13,10 +13,11 @@
#
# Copyright Buildbot Team Members

import re

from buildbot.util import json
from dateutil.parser import parse as dateparse
from twisted.python import log
import re


def _process_change(payload, user, repo, repo_url, project, codebase=None):
Expand Down
3 changes: 2 additions & 1 deletion master/buildbot/test/unit/test_status_web_hooks_github.py
Expand Up @@ -13,9 +13,10 @@
#
# Copyright Buildbot Team Members

import hmac

from calendar import timegm
from hashlib import sha1
import hmac

from buildbot.status.web.change_hook import ChangeHookResource
from buildbot.status.web.hooks.github import _HEADER_CT
Expand Down

0 comments on commit a6291c0

Please sign in to comment.