Fix broken swagger documentation and requirements.txt parsing
Change-Id: If9932b9d3ca19f0e4d53dfcd03cd35fdacde8f62
diff --git a/lib/xos-config/setup.py b/lib/xos-config/setup.py
index 57f2939..5efef5c 100644
--- a/lib/xos-config/setup.py
+++ b/lib/xos-config/setup.py
@@ -32,7 +32,7 @@
# parse a requirements.txt file, allowing for blank lines and comments
requirements = []
for line in open(filename):
- if line and line.startswith("#"):
+ if line and not line.startswith("#"):
requirements.append(line)
return requirements
@@ -42,7 +42,8 @@
version=version(),
description="XOS Config Library",
author="Matteo Scandolo",
- author_email="teo@opennetworking.org",
+ author_email="cord-dev@opencord.org",
+ url="https://gerrit.opencord.org/gitweb?p=xos.git",
classifiers=["License :: OSI Approved :: Apache Software License"],
license="Apache v2",
packages=["xosconfig"],