~openstack-ubuntu-testing/charms/precise/keystone/trunk

« back to all changes in this revision

Viewing changes to hooks/lib/openstack_common.py

  • Committer: Adam Gandelman
  • Date: 2013-08-30 00:45:53 UTC
  • Revision ID: adamg@canonical.com-20130830004553-va84wzlydcif8d8t
OPENSTACK UBUNTU TESTING: UpstreamVersion -> upstream_version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
110
110
        e = 'Could not determine version of installed package: %s' % pkg
111
111
        error_out(e)
112
112
 
113
 
    vers = apt.UpstreamVersion(pkg.current_ver.ver_str)
 
113
    vers = apt.upstream_version(pkg.current_ver.ver_str)
114
114
 
115
115
    try:
116
116
        if 'swift' in pkg.name: