From 1e1af475fdfff6b15dd5abbb0b70a179a8aa4c68 Mon Sep 17 00:00:00 2001 From: dhoomakethu Date: Fri, 22 Dec 2017 09:15:47 +0530 Subject: [PATCH] Bump version to 1.4.0rc2 #209 --- pymodbus/version.py | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/pymodbus/version.py b/pymodbus/version.py index cb4cdf325..837e02815 100644 --- a/pymodbus/version.py +++ b/pymodbus/version.py @@ -1,23 +1,23 @@ -''' +""" Handle the version information here; you should only have to change the version tuple. Since we are using twisted's version class, we can also query the svn version as well using the local .entries file. -''' +""" class Version(object): def __init__(self, package, major, minor, micro, pre=None): - ''' + """ :param package: Name of the package that this is a version of. :param major: The major version number. :param minor: The minor version number. :param micro: The micro version number. :param pre: The pre release tag - ''' + """ self.package = package self.major = major self.minor = minor @@ -25,29 +25,29 @@ def __init__(self, package, major, minor, micro, pre=None): self.pre = pre def short(self): - ''' Return a string in canonical short version format + """ Return a string in canonical short version format ...
-        '''
+        """
         if self.pre:
             return '%d.%d.%d.%s' % (self.major, self.minor, self.micro, self.pre)
         else:
             return '%d.%d.%d' % (self.major, self.minor, self.micro)
 
     def __str__(self):
-        ''' Returns a string representation of the object
+        """ Returns a string representation of the object
 
         :returns: A string representation of this object
-        '''
+        """
         return '[%s, version %s]' % (self.package, self.short())
 
 
-version = Version('pymodbus', 1, 4, 0, "rc1")
-
+version = Version('pymodbus', 1, 4, 0, "rc2")
 
 
 version.__name__ = 'pymodbus'  # fix epydoc error
 
-#---------------------------------------------------------------------------#
+# --------------------------------------------------------------------------- #
 # Exported symbols
-#---------------------------------------------------------------------------#
+# --------------------------------------------------------------------------- #
+
 __all__ = ["version"]