Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dcramer committed Aug 24, 2012
1 parent 836df9a commit 359ec09
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions raven/scripts/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

from raven import Client


def store_json(option, opt_str, value, parser):
try:
value = json.loads(value)
Expand All @@ -25,6 +26,7 @@ def store_json(option, opt_str, value, parser):
sys.exit(1)
setattr(parser.values, option.dest, value)


def main():
root = logging.getLogger('sentry.errors')
root.setLevel(logging.DEBUG)
Expand Down
2 changes: 1 addition & 1 deletion raven/utils/urlparse.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

def register_scheme(scheme):
for method in filter(lambda s: s.startswith('uses_'), dir(_urlparse)):
uses = getattr(_urlparse, method)
uses = getattr(_urlparse, method)
if scheme not in uses:
uses.append(scheme)

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# setup.py test` (see
# http://www.eby-sarna.com/pipermail/peak/2010-May/003357.html)
try:
import multiprocessing
import multiprocessing # NOQA
except ImportError:
pass

Expand Down

0 comments on commit 359ec09

Please sign in to comment.