~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to utilities/paste

  • Committer: William Grant
  • Date: 2012-01-01 03:10:25 UTC
  • mto: This revision was merged to the branch mainline in revision 14614.
  • Revision ID: william.grant@canonical.com-20120101031025-pcl0na3sbgfrztcw
utilities

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
import _pythonpath
7
7
 
8
8
import base64
 
9
from cookielib import (
 
10
    Cookie,
 
11
    CookieJar,
 
12
    )
9
13
import httplib
 
14
from optparse import OptionParser
10
15
import os
11
16
import pwd
12
17
import sys
13
18
import urllib
 
19
from urlparse import urljoin
14
20
import webbrowser
15
 
from optparse import OptionParser
16
 
from urlparse import urljoin
17
 
from cookielib import Cookie, CookieJar
 
21
 
18
22
from mechanize import HTTPRobotRulesProcessor
19
 
 
20
23
from zope.testbrowser.browser import Browser
21
24
 
22
 
 
23
25
# Should we be able to override any of these?
24
26
AUTH_FILE = '~/.lp_auth_cookie'
25
27
PRIVATE_PASTE_HOST = 'pastebin.canonical.com'