commit a4089b9bf4a79d7aad2d00be083da2555c4682e1 Author: Damian Johnson atagar@torproject.org Date: Wed Dec 24 09:10:03 2014 -0800
Extracted tarfile name can vary by platform
Foxboron spotted that the extracted tarfile entry has a name that varies on his platform depending on if he uses python2 or python3. The unextracted entry, however, seems to work for us both...
https://trac.torproject.org/projects/tor/ticket/14016#comment:2 --- stem/descriptor/reader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/stem/descriptor/reader.py b/stem/descriptor/reader.py index 3b2770a..1eecbee 100644 --- a/stem/descriptor/reader.py +++ b/stem/descriptor/reader.py @@ -537,7 +537,7 @@ class DescriptorReader(object): return
desc._set_path(os.path.abspath(target)) - desc._set_archive_path(entry.name) + desc._set_archive_path(tar_entry.name) self._unreturned_descriptors.put(desc) self._iter_notice.set() except TypeError as exc:
tor-commits@lists.torproject.org