[asterisk-commits] pabelanger: branch pabelanger/sipp r1103 - /asterisk/team/pabelanger/sipp/lib...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Dec 7 15:35:51 CST 2010
Author: pabelanger
Date: Tue Dec 7 15:35:47 2010
New Revision: 1103
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=1103
Log:
Fix equal operator
Modified:
asterisk/team/pabelanger/sipp/lib/python/sipp/version.py
Modified: asterisk/team/pabelanger/sipp/lib/python/sipp/version.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/pabelanger/sipp/lib/python/sipp/version.py?view=diff&rev=1103&r1=1102&r2=1103
==============================================================================
--- asterisk/team/pabelanger/sipp/lib/python/sipp/version.py (original)
+++ asterisk/team/pabelanger/sipp/lib/python/sipp/version.py Tue Dec 7 15:35:47 2010
@@ -80,9 +80,9 @@
def __eq__(self, other):
res = self.__cmp__(other)
if res == 0:
- if (self.tls == other.tls) or (self.pcap == other.pcap):
+ if self.tls == other.tls and self.pcap == other.pcap:
return True
- return False
+ return False
def __parse_version(self):
self.tls = False
More information about the asterisk-commits
mailing list