Skip to content

Commit 1e1af47

Browse files
committed
Bump version to 1.4.0rc2 #209
1 parent 668612e commit 1e1af47

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

pymodbus/version.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,53 @@
1-
'''
1+
"""
22
Handle the version information here; you should only have to
33
change the version tuple.
44
55
Since we are using twisted's version class, we can also query
66
the svn version as well using the local .entries file.
7-
'''
7+
"""
88

99

1010
class Version(object):
1111

1212
def __init__(self, package, major, minor, micro, pre=None):
13-
'''
13+
"""
1414
1515
:param package: Name of the package that this is a version of.
1616
:param major: The major version number.
1717
:param minor: The minor version number.
1818
:param micro: The micro version number.
1919
:param pre: The pre release tag
20-
'''
20+
"""
2121
self.package = package
2222
self.major = major
2323
self.minor = minor
2424
self.micro = micro
2525
self.pre = pre
2626

2727
def short(self):
28-
''' Return a string in canonical short version format
28+
""" Return a string in canonical short version format
2929
<major>.<minor>.<micro>.<pre>
30-
'''
30+
"""
3131
if self.pre:
3232
return '%d.%d.%d.%s' % (self.major, self.minor, self.micro, self.pre)
3333
else:
3434
return '%d.%d.%d' % (self.major, self.minor, self.micro)
3535

3636
def __str__(self):
37-
''' Returns a string representation of the object
37+
""" Returns a string representation of the object
3838
3939
:returns: A string representation of this object
40-
'''
40+
"""
4141
return '[%s, version %s]' % (self.package, self.short())
4242

4343

44-
version = Version('pymodbus', 1, 4, 0, "rc1")
45-
44+
version = Version('pymodbus', 1, 4, 0, "rc2")
4645

4746

4847
version.__name__ = 'pymodbus' # fix epydoc error
4948

50-
#---------------------------------------------------------------------------#
49+
# --------------------------------------------------------------------------- #
5150
# Exported symbols
52-
#---------------------------------------------------------------------------#
51+
# --------------------------------------------------------------------------- #
52+
5353
__all__ = ["version"]

0 commit comments

Comments
 (0)