diff --git a/ChangeLog.txt b/ChangeLog.txt index 1c088b4d..dfb70ea0 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,6 +1,8 @@ -3.8.3 - 17/02/2020 +3.8.3 - 21/02/2020 BugFix: - Counting packages for binaries repositories +Added: +- Feature for proxy servers 3.8.2 - 15/02/2020 Fixed: diff --git a/slpkg/config.py b/slpkg/config.py index fa07606f..05f9cd42 100644 --- a/slpkg/config.py +++ b/slpkg/config.py @@ -67,7 +67,8 @@ class Config(Utils): "SLACKPKG_LOG", "ONLY_INSTALLED", "EDITOR", - "NOT_DOWNGRADE" + "NOT_DOWNGRADE", + "HTTP_PROXY", ] read_conf = self.read_file(self.config_file) for line in read_conf.splitlines(): diff --git a/slpkg/file_size.py b/slpkg/file_size.py index b4595f8b..33ff0b29 100644 --- a/slpkg/file_size.py +++ b/slpkg/file_size.py @@ -25,11 +25,14 @@ import os import urllib3 +from slpkg.__metadata__ import MetaData as _meta_ + class FileSize: """Check local or remote file size """ def __init__(self, registry): + self.meta = _meta_ self.registry = registry if self.meta.http_proxy: self.http = urllib3.ProxyManager(self.meta.http_proxy)