summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/cli/logs.py
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/logs.py
parentf031bcdd91a7162efd8f236e28c3da3499f78bec (diff)
[style] pep8
Diffstat (limited to 'src/leap/bitmask/cli/logs.py')
-rw-r--r--src/leap/bitmask/cli/logs.py4
1 files changed, 2 insertions, 2 deletions
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):