Sophie

Sophie

distrib > Fedora > 13 > x86_64 > media > os-src > by-pkgid > 329ac582f03c175c23fbbecea24bd532 > files > 2

python-mwclient-0.6.3-3.fc12.src.rpm

diff -crB mwclient/client.py mwclient-fedora/client.py
*** mwclient/client.py	2009-07-16 21:22:54.000000000 -0400
--- mwclient-fedora/client.py	2009-09-22 10:36:31.000000000 -0400
***************
*** 100,106 ****
  			if len(version) == 2 and version[1].endswith('alpha'):
  				self.version = (int(version[0]), int(version[1][:-5]), 'alpha')
  			elif len(version) == 2 and version[1].endswith('alpha-wmf'):
! 				self.version = (int(version[0]), int(version[1][:-5]), 'alpha-wmf')
  			elif len(version) == 3 and 'rc' in version[2]:
  				self.version = (int(version[0]), int(version[1]), version[2])
  			elif len(version) == 3:
--- 100,106 ----
  			if len(version) == 2 and version[1].endswith('alpha'):
  				self.version = (int(version[0]), int(version[1][:-5]), 'alpha')
  			elif len(version) == 2 and version[1].endswith('alpha-wmf'):
! 				self.version = (int(version[0]), int(version[1][:-9]), 'alpha-wmf')
  			elif len(version) == 3 and 'rc' in version[2]:
  				self.version = (int(version[0]), int(version[1]), version[2])
  			elif len(version) == 3: