~citrix-openstack/nova/xenapi

« back to all changes in this revision

Viewing changes to bin/nova-import-canonical-imagestore

  • Committer: Armando Migliaccio
  • Date: 2010-12-18 13:58:26 UTC
  • mfrom: (436.1.9 xenapi-unittests)
  • Revision ID: armando.migliaccio@citrix.com-20101218135826-opovtdwty6y0vuqg
eventlet merge updates

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
  Download images from Canonical Image Store
22
22
"""
23
23
 
 
24
import gettext
24
25
import json
25
26
import os
26
27
import tempfile
37
38
if os.path.exists(os.path.join(possible_topdir, 'nova', '__init__.py')):
38
39
    sys.path.insert(0, possible_topdir)
39
40
 
 
41
gettext.install('nova', unicode=1)
 
42
 
40
43
from nova import flags
41
44
from nova import utils
42
45
from nova.objectstore import image