mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
Use pycodestyle instead of pep8 (#25947)
This commit is contained in:
parent
7329a392ff
commit
4b3d6dfa8a
8 changed files with 19 additions and 15 deletions
|
@ -210,6 +210,7 @@ class SourcesList(object):
|
|||
if filename is not None:
|
||||
return filename
|
||||
return '_'.join(re.sub('[^a-zA-Z0-9]', ' ', s).split())
|
||||
|
||||
def _strip_username_password(s):
|
||||
if '@' in s:
|
||||
s = s.split('@', 1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue