[Pywikipedia-l] SVN: [6418] branches/rewrite/pywikibot/__init__.py

nicdumz at svn.wikimedia.org nicdumz at svn.wikimedia.org
Mon Feb 23 04:52:02 UTC 2009


Revision: 6418
Author:   nicdumz
Date:     2009-02-23 04:52:02 +0000 (Mon, 23 Feb 2009)

Log Message:
-----------
I apparently did an incomplete commit, fixing this. (variable naming error)

Modified Paths:
--------------
    branches/rewrite/pywikibot/__init__.py

Modified: branches/rewrite/pywikibot/__init__.py
===================================================================
--- branches/rewrite/pywikibot/__init__.py	2009-02-23 03:32:20 UTC (rev 6417)
+++ branches/rewrite/pywikibot/__init__.py	2009-02-23 04:52:02 UTC (rev 6418)
@@ -32,7 +32,7 @@
     f = sys._getframe(1)
     classname = f.f_locals['self'].__class__.__name__ 
     funcname = f.f_code.co_name
-    if new:
+    if instead:
         logging.warning("%s.%s is DEPRECATED, use %s instead" % \
             (classname, funcname, instead))
     else:





More information about the Pywikipedia-l mailing list