[asterisk-commits] mnicholson: testsuite/asterisk/trunk r1776 - /asterisk/trunk/lib/python/aster...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Jul 21 13:25:00 CDT 2011
Author: mnicholson
Date: Thu Jul 21 13:24:57 2011
New Revision: 1776
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=1776
Log:
fix a version cmp typo
Modified:
asterisk/trunk/lib/python/asterisk/version.py
Modified: asterisk/trunk/lib/python/asterisk/version.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/lib/python/asterisk/version.py?view=diff&rev=1776&r1=1775&r2=1776
==============================================================================
--- asterisk/trunk/lib/python/asterisk/version.py (original)
+++ asterisk/trunk/lib/python/asterisk/version.py Thu Jul 21 13:24:57 2011
@@ -69,7 +69,7 @@
else:
res = int(self.concept) * 10000000
if self.major is not None:
- res + int(self.major) * 100000
+ res += int(self.major) * 100000
if self.minor is not None:
res += int(self.minor) * 1000
if self.patch is not None:
More information about the asterisk-commits
mailing list