diff options
author | Kali Kaneko (leap communications) <kali@leap.se> | 2016-10-07 10:21:50 -0400 |
---|---|---|
committer | Kali Kaneko (leap communications) <kali@leap.se> | 2016-10-07 10:22:41 -0400 |
commit | 744b1c083ebe412e92daa1de459d807db226f6fc (patch) | |
tree | 060041f6f874dcdbbdbfc2c598cdcf15ef981e1b /src/leap/bitmask/cli | |
parent | f031bcdd91a7162efd8f236e28c3da3499f78bec (diff) |
[style] pep8
Diffstat (limited to 'src/leap/bitmask/cli')
-rwxr-xr-x | src/leap/bitmask/cli/bitmask_cli.py | 1 | ||||
-rw-r--r-- | src/leap/bitmask/cli/logs.py | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/leap/bitmask/cli/bitmask_cli.py b/src/leap/bitmask/cli/bitmask_cli.py index ab3c2069..c27cabfc 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 0976ebc9..ae7acaec 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): |