diff --git a/jenkins/plugins.py b/jenkins/plugins.py index d16e1d5..9709d5d 100644 --- a/jenkins/plugins.py +++ b/jenkins/plugins.py @@ -67,7 +67,7 @@ class Plugin(dict): super(Plugin, self).__setitem__(key, value) -class PluginVersion(object): +class PluginVersion(str): '''Class providing comparison capabilities for plugin versions.''' _VERSION_RE = re.compile(r'(.*)-(?:SNAPSHOT|BETA)')