From d4aa8211c21f75c9a1db57a39a56d1c8979aa16a Mon Sep 17 00:00:00 2001 From: Ian Weller Date: Fri, 4 Feb 2011 22:06:35 -0600 Subject: [PATCH] Fix not being able to import the module --- simplemediawiki.py | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) 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__ -- 2.39.5