[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [stem/master] Descriptor typo corrections
commit 63c2ddb95e4c96e509e030240df12266012ce844
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date: Wed Jun 6 10:09:21 2012 -0700
Descriptor typo corrections
Fixes by Karsten
---
stem/descriptor/extrainfo_descriptor.py | 6 ++++--
stem/descriptor/reader.py | 2 +-
stem/descriptor/server_descriptor.py | 4 ++--
3 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/stem/descriptor/extrainfo_descriptor.py b/stem/descriptor/extrainfo_descriptor.py
index ff37064..0a4e893 100644
--- a/stem/descriptor/extrainfo_descriptor.py
+++ b/stem/descriptor/extrainfo_descriptor.py
@@ -37,7 +37,7 @@ Extra-info descriptors are available from a few sources...
|- MIN - smallest rate at which a descriptor was downloaded in B/s
|- MAX - largest rate at which a descriptor was downloaded in B/s
|- D1-4 and D6-9 - rate of the slowest x/10 download rates in B/s
- |- Q1 and Q3 - rate of the slowest and fastest querter download rates in B/s
+ |- Q1 and Q3 - rate of the slowest and fastest quarter download rates in B/s
+- MD - median download rate in B/s
parse_file - Iterates over the extra-info descriptors in a file.
@@ -179,6 +179,8 @@ class ExtraInfoDescriptor(stem.descriptor.Descriptor):
:var str geoip_db_digest: sha1 of geoIP database file
:var str signature: **\*** signature for this extrainfo descriptor
+ **Bi-directional connection usage:**
+
:var datetime conn_bi_direct_end: end of the sampling interval
:var int conn_bi_direct_interval: seconds per interval
:var int conn_bi_direct_below: connections that read/wrote less than 20 KiB
@@ -203,7 +205,7 @@ class ExtraInfoDescriptor(stem.descriptor.Descriptor):
:var list cell_processed_cells: measurement of processed cells per circuit
:var list cell_queued_cells: measurement of queued cells per circuit
:var list cell_time_in_queue: mean enqueued time in milliseconds for cells
- :var int cell_circuits_per_decile: mean number of circuits in a deciles
+ :var int cell_circuits_per_decile: mean number of circuits in a decile
**Directory Mirror Attributes:**
diff --git a/stem/descriptor/reader.py b/stem/descriptor/reader.py
index 51eb46c..499ded1 100644
--- a/stem/descriptor/reader.py
+++ b/stem/descriptor/reader.py
@@ -103,7 +103,7 @@ class ParsingFailure(FileSkipped):
class UnrecognizedType(FileSkipped):
"""
File doesn't contain descriptor data. This could either be due to its file
- type or because it doens't conform to a recognizable descriptor type.
+ type or because it doesn't conform to a recognizable descriptor type.
"""
def __init__(self, mime_type):
diff --git a/stem/descriptor/server_descriptor.py b/stem/descriptor/server_descriptor.py
index e19a3bd..bbce9d1 100644
--- a/stem/descriptor/server_descriptor.py
+++ b/stem/descriptor/server_descriptor.py
@@ -152,7 +152,7 @@ class ServerDescriptor(stem.descriptor.Descriptor):
:var stem.exit_policy.ExitPolicy exit_policy: **\*** stated exit policy
:var list family: **\*** nicknames or fingerprints of declared family
- :var int average_bandwidth: **\*** averate rate it's willing to relay in bytes/s
+ :var int average_bandwidth: **\*** average rate it's willing to relay in bytes/s
:var int burst_bandwidth: **\*** burst rate it's willing to relay in bytes/s
:var int observed_bandwidth: **\*** estimated capacity based on usage in bytes/s
@@ -271,7 +271,7 @@ class ServerDescriptor(stem.descriptor.Descriptor):
def get_annotations(self):
"""
- Provides content that appeard prior to the descriptor. If this comes from
+ Provides content that appeared prior to the descriptor. If this comes from
the cached-descriptors file then this commonly contains content like...
::
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits