~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to scripts/upload2librarian.py

  • Committer: William Grant
  • Date: 2012-01-01 03:13:08 UTC
  • mto: This revision was merged to the branch mainline in revision 14614.
  • Revision ID: william.grant@canonical.com-20120101031308-ozhin5aaoxj5th20
scripts

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
# pylint: disable-msg=W0403
7
7
"""Simple tool to upload arbitrary files into Librarian."""
8
8
 
 
9
import _pythonpath
 
10
 
9
11
import logging
10
12
import os
11
13
 
12
 
import _pythonpath
13
14
from zope.component import getUtility
14
15
 
15
16
from lp.services.helpers import filenameToContentType