[tor-commits] [stem/master] Few spelling corrections

atagar at torproject.org atagar at torproject.org
Mon Dec 3 02:35:44 UTC 2012


commit d1cd96db70da3a737f6fee24354d61f5e52893e5
Author: Damian Johnson <atagar at torproject.org>
Date:   Sun Nov 18 13:00:50 2012 -0800

    Few spelling corrections
---
 stem/__init__.py        |    2 +-
 stem/response/events.py |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/stem/__init__.py b/stem/__init__.py
index c27df43..7b3f6ee 100644
--- a/stem/__init__.py
+++ b/stem/__init__.py
@@ -150,7 +150,7 @@ Library for working with the tor process.
   **DESTROY**           circuit is being shut down
   **DONE**              connection has been closed
   **TIMEOUT**           connection timed out
-  **NOROUTE**           routing error while contacting the destinaiton
+  **NOROUTE**           routing error while contacting the destination
   **HIBERNATING**       relay is hibernating
   **INTERNAL**          internal error
   **RESOURCELIMIT**     relay has insufficient resources to service the request
diff --git a/stem/response/events.py b/stem/response/events.py
index 1b28eb3..e24b797 100644
--- a/stem/response/events.py
+++ b/stem/response/events.py
@@ -129,7 +129,7 @@ class CircuitEvent(Event):
     # log if we have an unrecognized status, build flag, purpose, hidden
     # service state, or closure reason
     
-    unrecognized_msg = "CIRC event had an unrecognised %%s (%%s). Maybe a new addition to the control protocol? Full Event: '%s'" % self
+    unrecognized_msg = "CIRC event had an unrecognized %%s (%%s). Maybe a new addition to the control protocol? Full Event: '%s'" % self
     
     if self.status and (not self.status in stem.CircStatus):
       log_id = "event.circ.unknown_status.%s" % self.status
@@ -223,7 +223,7 @@ class StreamEvent(Event):
     
     # log if we have an unrecognized closure reason or purpose
     
-    unrecognized_msg = "STREAM event had an unrecognised %%s (%%s). Maybe a new addition to the control protocol? Full Event: '%s'" % self
+    unrecognized_msg = "STREAM event had an unrecognized %%s (%%s). Maybe a new addition to the control protocol? Full Event: '%s'" % self
     
     if self.reason and (not self.reason in stem.StreamClosureReason):
       log_id = "event.stream.reason.%s" % self.reason





More information about the tor-commits mailing list