[Pkg-privacy-commits] [txtorcon] 39/49: release-note about py3

Ximin Luo infinity0 at debian.org
Mon Oct 19 13:49:53 UTC 2015


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository txtorcon.

commit 2ef279f782ee74f123cd0fa8f110ab097c00fe46
Author: meejah <meejah at meejah.ca>
Date:   Tue Sep 8 11:31:48 2015 -0600

    release-note about py3
---
 docs/releases.rst    | 1 +
 txtorcon/torstate.py | 6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/docs/releases.rst b/docs/releases.rst
index fc594d8..d6938fa 100644
--- a/docs/releases.rst
+++ b/docs/releases.rst
@@ -20,6 +20,7 @@ unreleased
    use Tor as a client. For example, to connect to txtorcon's Web site:
    ``ep = clientFromString("tor:timaq4ygg2iegci7.onion:80")``.
    (In the future, I'd like to automatically launch Tor if required, too).
+ * Python3 fixes from `isis <https://github.com/isislovecruft>`_ (note: needs Twisted 15.4.0+)
 
 
 v0.13.0
diff --git a/txtorcon/torstate.py b/txtorcon/torstate.py
index 7c99316..2861e92 100644
--- a/txtorcon/torstate.py
+++ b/txtorcon/torstate.py
@@ -674,7 +674,7 @@ class TorState(object):
 
         tests monkey-patch this to reduce spew
         """
-        print "Failure while attaching stream:", fail
+        print("Failure while attaching stream:", fail)
         return fail
 
     def _circuit_status(self, data):
@@ -742,7 +742,7 @@ class TorState(object):
         from CIRC events.
         """
 
-        # print "circuit_update",line
+        # print("circuit_update", line)
         args = line.split()
         circ_id = int(args[0])
 
@@ -755,7 +755,7 @@ class TorState(object):
         from STREAM events.
         """
 
-        # print "stream_update",line
+        # print("stream_update", line)
         if line.strip() == 'stream-status=':
             # this happens if there are no active streams
             return

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/txtorcon.git



More information about the Pkg-privacy-commits mailing list