Change-Id: I82f8f1ec3f350c8ac7d1578292001fe61d06249d Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
8 lines
176 B
Python
8 lines
176 B
Python
from openstack_requirements import requirement
|
|
|
|
|
|
def read_requirements_file(filename):
|
|
with open(filename) as f:
|
|
body = f.read()
|
|
return requirement.parse(body)
|