Fix pep8 whitespace errors

This commit is contained in:
Benedikt Brückmann 2021-06-07 12:49:16 +02:00
parent 1e943a22df
commit 01b9fb1549
12 changed files with 50 additions and 50 deletions

View file

@ -7,14 +7,14 @@ python-tail can be used to monitor changes to a file.
Example
-------
>>> import tail
>>>
>>>
>>> # Create a tail instance
>>> t = tail.Tail('file-to-be-followed')
>>>
>>>
>>> # Register a callback function to be called when a new line is found in the followed file.
>>> # If no callback function is registerd, new lines would be printed to standard out.
>>> t.register_callback(callback_function)
>>>
>>>
>>> # Follow the file with 5 seconds as sleep time between iterations.
>>> # If sleep time is not provided 1 second is used as the default time.
>>> t.follow(s=5)
@ -67,7 +67,7 @@ class Tail(object):
def follow(self, s=1):
"""Do a tail follow.
If a callback function is registered it is called with every new line.
Else printed to standard out.