~yolanda.robla/glance/precise-security

« back to all changes in this revision

Viewing changes to bin/glance-registry

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2011-08-12 05:23:21 UTC
  • mto: (50.1.2 precise-proposed)
  • mto: This revision was merged to the branch mainline in revision 13.
  • Revision ID: james.westby@ubuntu.com-20110812052321-a0nkrt7pihhiuglf
Tags: upstream-2011.3~d4~20110811.980
ImportĀ upstreamĀ versionĀ 2011.3~d4~20110811.980

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
Reference implementation server for Glance Registry
23
23
"""
24
24
 
 
25
import gettext
25
26
import optparse
26
27
import os
27
28
import sys
34
35
if os.path.exists(os.path.join(possible_topdir, 'glance', '__init__.py')):
35
36
    sys.path.insert(0, possible_topdir)
36
37
 
 
38
gettext.install('glance', unicode=1)
 
39
 
37
40
from glance import version
38
41
from glance.common import config
39
42
from glance.common import wsgi