Blob Blame Raw
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: