Permalink
Browse files

flakes

  • Loading branch information...
1 parent 6132540 commit 54d78c6b33f729664d5181096077833b2ebddcd6 @ask ask committed Sep 12, 2013
Showing with 2 additions and 4 deletions.
  1. +0 −1 examples/simple_task_queue/client.py
  2. +0 −1 extra/release/bump_version.py
  3. +2 −2 pavement.py
@@ -1,4 +1,3 @@
-from kombu.common import maybe_declare
from kombu.pools import producers
from .queues import task_exchange
@@ -14,7 +14,6 @@
str_t = str if sys.version_info[0] >= 3 else basestring
-
def cmd(*args):
return subprocess.Popen(args, stdout=subprocess.PIPE).communicate()[0]
View
@@ -90,8 +90,8 @@ def readme(options):
('custom=', 'C', 'custom version'),
])
def bump(options):
- s = "-- '%s'" % (options.custom, ) \
- if getattr(options, 'custom', None) else ''
+ s = ("-- '%s'" % (options.custom, ) if getattr(options, 'custom', None)
+ else '')
sh('extra/release/bump_version.py \
kombu/__init__.py README.rst %s' % (s, ))

0 comments on commit 54d78c6

Please sign in to comment.