~adeuring/launchpadlib/wadl_info_hwdrivername

« back to all changes in this revision

Viewing changes to src/launchpadlib/_browser.py

  • Committer: Gary Poster
  • Date: 2009-03-19 15:22:56 UTC
  • mto: This revision was merged to the branch mainline in revision 38.
  • Revision ID: gary.poster@canonical.com-20090319152256-l4sff9aswk8sy81q
update to new buildout standards; move json code out of _utils; depend on oauth package, not our local copy; reorder imports.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 
30
30
 
31
31
import atexit
 
32
from cStringIO import StringIO
32
33
import gzip
33
 
import shutil
34
 
import tempfile
35
34
from httplib2 import (
36
35
    FailedToDecompressContent, FileCache, Http, safename, urlnorm)
 
36
from lazr.uri import URI
 
37
from oauth.oauth import (
 
38
    OAuthRequest, OAuthSignatureMethod_PLAINTEXT)
 
39
import shutil
37
40
import simplejson
38
 
from cStringIO import StringIO
39
 
import zlib
40
 
 
 
41
import tempfile
41
42
from urllib import urlencode
42
43
from wadllib.application import Application
43
 
from lazr.uri import URI
 
44
import zlib
44
45
 
45
46
from launchpadlib.errors import HTTPError
46
 
from launchpadlib._oauth.oauth import (
47
 
    OAuthRequest, OAuthSignatureMethod_PLAINTEXT)
48
 
from launchpadlib._utils.json import DatetimeJSONEncoder
 
47
from launchpadlib._json import DatetimeJSONEncoder
49
48
 
50
49
 
51
50
OAUTH_REALM = 'https://api.launchpad.net'