Revision: 6566 Author: kim Date: 2009-03-31 14:03:54 +0000 (Tue, 31 Mar 2009)
Log Message: ----------- self.password=password was indented wrong
Modified Paths: -------------- trunk/pywikipedia/login.py
Modified: trunk/pywikipedia/login.py =================================================================== --- trunk/pywikipedia/login.py 2009-03-30 13:56:29 UTC (rev 6565) +++ trunk/pywikipedia/login.py 2009-03-31 14:03:54 UTC (rev 6566) @@ -89,7 +89,7 @@ self.username = config.usernames[self.site.family.name][self.site.lang] except: raise wikipedia.NoUsername(u'ERROR: Username for %s:%s is undefined.\nIf you have an account for that site, please add such a line to user-config.py:\n\nusernames['%s']['%s'] = 'myUsername'' % (self.site.family.name, self.site.lang, self.site.family.name, self.site.lang)) - self.password = password + self.password = password self.verbose = verbose if getattr(config, 'password_file', ''): self.readPassword()