[tor-commits] [stem/master] Our port_usage() always returned 'None'
atagar at torproject.org
atagar at torproject.org
Thu Jan 1 21:41:18 UTC 2015
commit 109195f69e66ed00ada9b026bc831e71623bdaea
Author: Damian Johnson <atagar at torproject.org>
Date: Thu Jan 1 13:37:37 2015 -0800
Our port_usage() always returned 'None'
When installing via a package we didn't install the ports.cfg, causing
port_usage() to always return None. Caught by toralf on...
https://trac.torproject.org/projects/tor/ticket/14046
---
docs/change_log.rst | 4 ++++
setup.py | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/docs/change_log.rst b/docs/change_log.rst
index bb32659..cad1f32 100644
--- a/docs/change_log.rst
+++ b/docs/change_log.rst
@@ -41,6 +41,10 @@ Unreleased
The following are only available within Stem's `git repository
<download.html>`_.
+ * **Utilities**
+
+ * :func:`stem.util.connection.port_usage` always returned None (:trac:`14046`)
+
.. _version_1.3:
Version 1.3
diff --git a/setup.py b/setup.py
index f12dfc8..1c02494 100644
--- a/setup.py
+++ b/setup.py
@@ -53,6 +53,6 @@ setup(
cmdclass = {'build_py': build_py},
keywords = 'tor onion controller',
scripts = ['tor-prompt'],
- package_data = { 'stem.interpreter': ['settings.cfg']},
+ package_data = {'stem.interpreter': ['settings.cfg'], 'stem.util': ['ports.cfg']},
)
More information about the tor-commits
mailing list