summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/cli
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2016-10-07 10:21:50 -0400
committerKali Kaneko (leap communications) <kali@leap.se>2016-10-07 10:22:41 -0400
commit744b1c083ebe412e92daa1de459d807db226f6fc (patch)
tree060041f6f874dcdbbdbfc2c598cdcf15ef981e1b /src/leap/bitmask/cli
parentf031bcdd91a7162efd8f236e28c3da3499f78bec (diff)
[style] pep8
Diffstat (limited to 'src/leap/bitmask/cli')
-rwxr-xr-xsrc/leap/bitmask/cli/bitmask_cli.py1
-rw-r--r--src/leap/bitmask/cli/logs.py4
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):