diff options
| author | Sebastian Hahn <sebastian@torproject.org> | 2009-06-01 14:40:06 +0200 | 
|---|---|---|
| committer | Sebastian Hahn <sebastian@torproject.org> | 2009-08-25 19:24:42 +0200 | 
| commit | 33f0fc41bb8a8ff08432d91ebca7863d40b5c615 (patch) | |
| tree | 3b337910378be79f6c0c5fb92219994b7f9c0ba9 /lib | |
| parent | 87721d4833478ea4f9c857553ea3e86e08b727b1 (diff) | |
Spelling fixes and import cleanup
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/thandy/ClientCLI.py | 3 | ||||
| -rw-r--r-- | lib/thandy/SignerCLI.py | 1 | ||||
| -rw-r--r-- | lib/thandy/download.py | 2 | ||||
| -rw-r--r-- | lib/thandy/formats.py | 2 | 
4 files changed, 3 insertions, 5 deletions
diff --git a/lib/thandy/ClientCLI.py b/lib/thandy/ClientCLI.py index e5b23e5..05d2cd8 100644 --- a/lib/thandy/ClientCLI.py +++ b/lib/thandy/ClientCLI.py @@ -1,9 +1,8 @@ +import thandy.bt_compat  # Copyright 2008 The Tor Project, Inc.  See LICENSE for licensing information.  import getopt  import logging -import os -import re  import sys  import time  import traceback diff --git a/lib/thandy/SignerCLI.py b/lib/thandy/SignerCLI.py index 9477cfe..d0feef6 100644 --- a/lib/thandy/SignerCLI.py +++ b/lib/thandy/SignerCLI.py @@ -3,7 +3,6 @@  import os  import getopt  import sys -import logging  import thandy.keys  import thandy.formats diff --git a/lib/thandy/download.py b/lib/thandy/download.py index d5f1629..3756a25 100644 --- a/lib/thandy/download.py +++ b/lib/thandy/download.py @@ -423,7 +423,7 @@ class DownloadJob:      def setDownloadStatusLog(self, log):          """Base our URL-picking decisions on the DownloadStatusLog in -           'log'.  The caller is still reposnsible for invoking the +           'log'.  The caller is still responsible for invoking the             logs failed() or succeeded methods.  XXXX is that bad API             design?"""          pass diff --git a/lib/thandy/formats.py b/lib/thandy/formats.py index 5429d5c..b8bdf5b 100644 --- a/lib/thandy/formats.py +++ b/lib/thandy/formats.py @@ -914,7 +914,7 @@ def checkSignedObj(obj, keydb=None):          role = 'package'          path = obj['signed']['location']      else: -        raise ValueError("Unkown signed object type %r"%tp) +        raise ValueError("Unknown signed object type %r"%tp)      ss = None      if keydb is not None:  | 
