From 744b1c083ebe412e92daa1de459d807db226f6fc Mon Sep 17 00:00:00 2001 From: "Kali Kaneko (leap communications)" Date: Fri, 7 Oct 2016 10:21:50 -0400 Subject: [style] pep8 --- src/leap/bitmask/cli/bitmask_cli.py | 1 - src/leap/bitmask/cli/logs.py | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'src/leap/bitmask/cli') diff --git a/src/leap/bitmask/cli/bitmask_cli.py b/src/leap/bitmask/cli/bitmask_cli.py index ab3c206..c27cabf 100755 --- a/src/leap/bitmask/cli/bitmask_cli.py +++ b/src/leap/bitmask/cli/bitmask_cli.py @@ -136,7 +136,6 @@ def _null_printer(*args): pass - def main(): def signal_handler(signal, frame): if reactor.running: diff --git a/src/leap/bitmask/cli/logs.py b/src/leap/bitmask/cli/logs.py index 0976ebc..ae7acae 100644 --- a/src/leap/bitmask/cli/logs.py +++ b/src/leap/bitmask/cli/logs.py @@ -56,7 +56,7 @@ SUBCOMMANDS: def watch(self, raw_args): def tail(_file): - _file.seek(0,2) # Go to the end of the file + _file.seek(0, 2) # Go to the end of the file while True: line = _file.readline() if not line: @@ -66,7 +66,7 @@ SUBCOMMANDS: _file = open(_log_path, 'r') print (Fore.GREEN + '[bitmask] ' + - Fore.RESET + 'Watching log file %s' % _log_path ) + Fore.RESET + 'Watching log file %s' % _log_path) for line in _file.readlines(): print line, for line in tail(_file): -- cgit v1.2.3