~psusi/ubuntu/raring/landscape-client/fix-memory-report

« back to all changes in this revision

Viewing changes to landscape/lib/amp.py

  • Committer: Bazaar Package Importer
  • Author(s): Free Ekanayaka
  • Date: 2010-07-28 08:14:02 UTC
  • mto: (45.1.1 landscape-client-12.05-0ubuntu1)
  • mto: This revision was merged to the branch mainline in revision 31.
  • Revision ID: james.westby@ubuntu.com-20100728081402-kiek53kn178sueqw
Tags: upstream-1.5.4
ImportĀ upstreamĀ versionĀ 1.5.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
from twisted.internet.defer import Deferred, maybeDeferred
4
4
from twisted.internet.protocol import ReconnectingClientFactory
 
5
from twisted.python.failure import Failure
 
6
 
5
7
try:
6
8
    from twisted.protocols.amp import (
7
9
        Argument, String, Integer, Command, AMP, MAX_VALUE_LENGTH)
8
10
except ImportError:
9
11
    from landscape.lib.twisted_amp import (
10
12
        Argument, String, Integer, Command, AMP, MAX_VALUE_LENGTH)
11
 
    
12
 
from twisted.python.failure import Failure
13
13
 
14
14
from landscape.lib.bpickle import loads, dumps, dumps_table
15
15