~ubuntu-branches/ubuntu/raring/glance/raring-updates

« back to all changes in this revision

Viewing changes to bin/glance-cache-manage

  • Committer: Package Import Robot
  • Author(s): Chuck Short, Adam Gandleman, Chuck Short
  • Date: 2012-08-16 13:58:32 UTC
  • mfrom: (1.1.41)
  • Revision ID: package-import@ubuntu.com-20120816135832-4m40ppptd1l073fr
Tags: 2012.2~f3-0ubuntu1
[ Adam Gandleman ]
* debian/patches/sql_conn.patch: Also set default sqlite path for
  in glance-api.conf. (LP: #1028711)
* debian/patches/fix-docs-build.patch: Fix docs build

[ Chuck Short ]
* New upstream version.
* debian/control: python-xattr is no longer a required depends.
  (LP: #1031396)
* debian/control: Move python-jsonschema to glance.
  (LP: #1030152)
* debian/control: Start the slow transition to python-glanceclient.

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
from glance import client as glance_client
41
41
from glance.common import exception
42
42
from glance.common import utils
43
 
from glance import version
 
43
from glance.version import version_info as version
44
44
 
45
45
 
46
46
SUCCESS = 0
444
444
                                from the cache
445
445
"""
446
446
 
447
 
    oparser = optparse.OptionParser(version='%%prog %s'
448
 
                                    % version.version_string(),
 
447
    deferred_string = version.deferred_version_string(prefix="%prog ")
 
448
    oparser = optparse.OptionParser(version=deferred_string,
449
449
                                    usage=usage.strip())
450
450
    create_options(oparser)
451
451
    (options, command, args) = parse_options(oparser, sys.argv[1:])