From: Ian Weller Date: Sat, 5 Feb 2011 04:06:35 +0000 (-0600) Subject: Fix not being able to import the module X-Git-Url: https://projects.mako.cc/source/python-simplemediawiki.debian/commitdiff_plain/a54cc1e6cdfacf678711f6c88021c8eca5c6580c?ds=inline Fix not being able to import the module --- diff --git a/simplemediawiki.py b/simplemediawiki.py index ab0f3f7..6bdd944 100644 --- a/simplemediawiki.py +++ b/simplemediawiki.py @@ -39,6 +39,12 @@ from StringIO import StringIO import urllib import urllib2 +__author__ = 'Ian Weller ' +__version__ = '1.0.2' +DEFAULT_UA = ('python-simplemediawiki/%s ' + '+https://github.com/ianweller/python-simplemediawiki') \ + % __version__ + class MediaWiki(): """ @@ -206,10 +212,3 @@ class MediaWiki(): objects. """ return iso8601.parse_date(date) - - -__author__ = 'Ian Weller ' -__version__ = '1.0.2' -DEFAULT_UA = 'python-simplemediawiki/%s ' + \ - '+https://github.com/ianweller/python-simplemediawiki' \ - % __version__