pep8: Fix E301 pep8 violations.

Fix "E301: expected (1 or 2) blank line" pep8 violations.
This commit is contained in:
Rafid Aslam 2016-11-29 13:22:02 +07:00 committed by Tim Abbott
parent d4410365ea
commit 1ae8ac85d8
4 changed files with 6 additions and 0 deletions

View file

@ -35,6 +35,7 @@ class IRCBot(irc.bot.SingleServerIRCBot):
def on_welcome(self, c, e):
# type: (ServerConnection, Event) -> None
c.join(self.channel)
def forward_to_irc(msg):
# type: (Dict[str, Any]) -> None
if msg["type"] == "stream":

View file

@ -62,6 +62,7 @@ if options.forward_class_messages and not options.noshard:
from zerver.lib.parallel import run_parallel
print("Starting parallel zephyr class mirroring bot")
jobs = list("0123456789abcdef")
def run_job(shard):
# type: (str) -> int
subprocess.call(args + ["--shard=%s" % (shard,)])