import gettext


class Version(object):
    def __init__(self, canonical_version, final):
        self.canonical_version = canonical_version
        self.final = final

    @property
    def pretty_version(self):
        if self.final:
            return self.canonical_version
        else:
            return '%s-dev' % (self.canonical_version,)


_version = Version('1.4.10', False)
__version__ = _version.pretty_version
__canonical_version__ = _version.canonical_version

gettext.install('swift')

import gettext


class Version(object):
    def __init__(self, canonical_version, final):
        self.canonical_version = canonical_version
        self.final = final

    @property
    def pretty_version(self):
        if self.final:
            return self.canonical_version
        else:
            return '%s-dev' % (self.canonical_version,)


_version = Version('1.4.9', False)
__version__ = _version.pretty_version
__canonical_version__ = _version.canonical_version

gettext.install('swift')

Revert "version bump to 1.4.10"
Revert "version bump to 1.4.10"

This reverts commit e4ab8f004c0c4a8b631d0de77b72d85d5fdba221.

Change-Id: Id8262405acec0f13314f27fbac02bd3cded60789
