aboutsummaryrefslogtreecommitdiff
path: root/license_protected_downloads/buildinfo.py
diff options
context:
space:
mode:
Diffstat (limited to 'license_protected_downloads/buildinfo.py')
-rw-r--r--license_protected_downloads/buildinfo.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/license_protected_downloads/buildinfo.py b/license_protected_downloads/buildinfo.py
index 42a789b..19c6f46 100644
--- a/license_protected_downloads/buildinfo.py
+++ b/license_protected_downloads/buildinfo.py
@@ -15,9 +15,7 @@ class BuildInfoBase(object):
"openid-launchpad-teams",
]
- def __init__(self, full_name, search_path, content):
- self.full_file_name = full_name
- self.search_path = search_path
+ def __init__(self, full_name, content):
self.fname = os.path.basename(full_name)
self.index = 0
@@ -157,7 +155,7 @@ class BuildInfo(BuildInfoBase):
build_info_file = os.path.join(search_path, "BUILD-INFO.txt")
with open(build_info_file, "r") as f:
- super(BuildInfo, self).__init__(fn, search_path, f.read())
+ super(BuildInfo, self).__init__(fn, f.read())
@classmethod
def get_search_path(cls, path):