This is an automated email from the git hooks/post-receive script.
atagar pushed a commit to branch maint in repository stem.
commit 8086dadf9a2388cde08f19849076956e47d30514 Author: juga juga@riseup.net AuthorDate: Tue May 30 08:41:28 2023 +0000
Add reproducible build patch
Apply patch from https://salsa.debian.org/debian/python-stem/-/commit/46e214c62b08493086729d7....
Description: Make the build reproducible Author: Chris Lamb lamby@debian.org Last-Update: 2020-06-23 --- stem/directory.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/stem/directory.py b/stem/directory.py index 8139a935..3a3644dc 100644 --- a/stem/directory.py +++ b/stem/directory.py @@ -372,7 +372,9 @@ class Fallback(Directory): self.header = OrderedDict(header) if header else OrderedDict()
@staticmethod - def from_cache(path = FALLBACK_CACHE_PATH): + def from_cache(path = None): + if path is None: + path = FALLBACK_CACHE_PATH conf = stem.util.conf.Config() conf.load(path) headers = OrderedDict([(k.split('.', 1)[1], conf.get(k)) for k in conf.keys() if k.startswith('header.')])