
Remove the "swift/1.4.8" directory from the hierarchy, replacing it with "ufo". Change-Id: I60ba171182d7402a2193616c1c95c90cd2ead5bc BUG: 870589 Signed-off-by: Peter Portante <peter.portante@redhat.com> Reviewed-on: http://review.gluster.org/4200 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Pete Zaitcev <zaitcev@redhat.com> Reviewed-by: Anand Avati <avati@redhat.com>
19 lines
481 B
Python
19 lines
481 B
Python
""" Gluster Swift UFO """
|
|
|
|
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.1', True)
|
|
__version__ = _version.pretty_version
|
|
__canonical_version__ = _version.canonical_version
|