mirror of
https://github.com/docker/compose.git
synced 2026-06-25 02:28:24 +00:00
10 lines
257 B
Python
10 lines
257 B
Python
from __future__ import absolute_import
|
|
from __future__ import unicode_literals
|
|
|
|
from distutils.version import LooseVersion
|
|
|
|
|
|
class ComposeVersion(LooseVersion):
|
|
""" A hashable version object """
|
|
def __hash__(self):
|
|
return hash(self.vstring)
|