~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport.py

  • Committer: John Arbash Meinel
  • Date: 2005-07-11 20:42:54 UTC
  • mto: (1185.11.1)
  • mto: This revision was merged to the branch mainline in revision 1396.
  • Revision ID: john@arbash-meinel.com-20050711204254-ca527f406bb0ae5a
TODO + exception class.

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
class AsyncError(Exception):
11
11
    pass
12
12
 
 
13
class TransportNotPossibleError(Exception):
 
14
    """This is for transports where a specific function is explicitly not
 
15
    possible. Such as pushing files to an HTTP server.
 
16
    """
 
17
    pass
 
18
 
13
19
class AsyncFile(object):
14
20
    """This will be returned from a Transport object,
15
21
    whenever an asyncronous get is requested.
78
84
 
79
85
    TODO: Worry about file encodings. For instance bzr control files should
80
86
          all be encoded in utf-8, but read as local encoding.
 
87
 
 
88
    TODO: Consider adding a lock/unlock functions.
81
89
    """
82
90
 
83
91
    def __init__(self, base):