[Pywikipedia-l] SVN: [6291] trunk/pywikipedia/interwiki.py

purodha at svn.wikimedia.org purodha at svn.wikimedia.org
Fri Jan 23 16:08:14 UTC 2009


Revision: 6291
Author:   purodha
Date:     2009-01-23 16:08:14 +0000 (Fri, 23 Jan 2009)

Log Message:
-----------
Typing error.

Modified Paths:
--------------
    trunk/pywikipedia/interwiki.py

Modified: trunk/pywikipedia/interwiki.py
===================================================================
--- trunk/pywikipedia/interwiki.py	2009-01-23 16:06:51 UTC (rev 6290)
+++ trunk/pywikipedia/interwiki.py	2009-01-23 16:08:14 UTC (rev 6291)
@@ -1617,7 +1617,7 @@
                 hints.append(arg[6:])
             elif arg.startswith('-hintfile:'):
                 hintfilename = arg[10:]
-                if (hintfilename is None) or (hintfilenname == ''):
+                if (hintfilename is None) or (hintfilename == ''):
                     hintfilename = wikipedia.input(u'Please enter the hint filename:')
                 f = codecs.open(hintfilename, 'r', config.textfile_encoding)
                 R = re.compile(ur'\[\[(.+?)(?:\]\]|\|)') # hint or title ends either before | or before ]]





More information about the Pywikipedia-l mailing list