Revision: 8231 Author: nicdumz Date: 2010-05-31 03:09:06 +0000 (Mon, 31 May 2010)
Log Message: ----------- Fix KeyError
Modified Paths: -------------- branches/rewrite/pywikibot/config2.py
Modified: branches/rewrite/pywikibot/config2.py =================================================================== --- branches/rewrite/pywikibot/config2.py 2010-05-30 06:31:54 UTC (rev 8230) +++ branches/rewrite/pywikibot/config2.py 2010-05-31 03:09:06 UTC (rev 8231) @@ -543,7 +543,7 @@ else: print "WARNING: Type of '%(_key)s' changed" % locals() print " %(was)s: %(old)s" % {'was': "Was", 'old': ot} - print " %(was)s: %(new)s" % {'now': "Now", 'new': nt} + print " %(now)s: %(new)s" % {'now': "Now", 'new': nt} del nt, ot else: print \
pywikipedia-svn@lists.wikimedia.org