Revision: 3982 Author: wikipedian Date: 2007-08-07 01:23:41 +0000 (Tue, 07 Aug 2007)
Log Message: ----------- removed unneeded imports
Modified Paths: -------------- trunk/pywikipedia/login.py
Modified: trunk/pywikipedia/login.py =================================================================== --- trunk/pywikipedia/login.py 2007-08-06 23:28:45 UTC (rev 3981) +++ trunk/pywikipedia/login.py 2007-08-07 01:23:41 UTC (rev 3982) @@ -44,8 +44,8 @@ # __version__='$Id$'
-import re, sys -import httplib, urllib2 +import re +import urllib2 import wikipedia, config
# On some wikis you are only allowed to run a bot if there is a link to @@ -254,7 +254,7 @@ forceLogin = True else: wikipedia.showHelp('login') - sys.exit() + return if logall: if sysop: namedict = config.sysopnames