Merge "[GENERAL] Add Andreas Geissler as committer."
[oom/offline-installer.git] / build / download / downloader.py
index 6440330..6bbab35 100644 (file)
@@ -1,4 +1,3 @@
-#! /usr/bin/env python
 # -*- coding: utf-8 -*-
 
 #   COPYRIGHT NOTICE STARTS HERE
@@ -32,7 +31,7 @@ class AbstractDownloader(ABC):
     def __init__(self, list_type, *list_args):
         self._list_type = list_type
         self._data_list = {item: list_arg[1] for list_arg in list_args
-                           for item in self._load_list(list_arg[0])}
+                           for item in self.load_list(list_arg[0])}
         self._missing = self.missing()
 
     @property
@@ -43,7 +42,7 @@ class AbstractDownloader(ABC):
         return self._list_type
 
     @staticmethod
-    def _load_list(path):
+    def load_list(path):
         """
         Load list from file.
         :param path: path to file