mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-26 06:31:23 -07:00
PEP 8 cleanup. (#20789)
* PEP 8 E703 cleanup. * PEP 8 E701 cleanup. * PEP 8 E711 cleanup. * PEP 8 W191 and E101 cleanup.
This commit is contained in:
parent
c29d1e3162
commit
d0d1158c5e
72 changed files with 184 additions and 174 deletions
|
@ -227,7 +227,8 @@ def sizefilter(st, size):
|
|||
|
||||
def contentfilter(fsname, pattern):
|
||||
'''filter files which contain the given expression'''
|
||||
if pattern is None: return True
|
||||
if pattern is None:
|
||||
return True
|
||||
|
||||
try:
|
||||
f = open(fsname)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue