mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Removed the check for comments in requirements parsing
This commit is contained in:
parent
5d2ed13040
commit
aa416583ae
1 changed files with 1 additions and 3 deletions
4
setup.py
4
setup.py
|
@ -99,9 +99,7 @@ libraries = ['ws2_32'] if sys.platform == 'win32' else []
|
|||
|
||||
with open(salt_reqs) as f:
|
||||
lines = f.read().split('\n')
|
||||
requirements = [
|
||||
line for line in lines if (line and not line.startswith('#'))
|
||||
]
|
||||
requirements = [line for line in lines if line]
|
||||
|
||||
|
||||
setup_kwargs = {'name': NAME,
|
||||
|
|
Loading…
Add table
Reference in a new issue