]> projects.mako.cc - python-simplemediawiki.debian/commitdiff
Fix not being able to import the module
authorIan Weller <ian@ianweller.org>
Sat, 5 Feb 2011 04:06:35 +0000 (22:06 -0600)
committerIan Weller <ian@ianweller.org>
Sat, 5 Feb 2011 04:06:35 +0000 (22:06 -0600)
simplemediawiki.py

index ab0f3f7d69b82b8e31cb6a279d54cf87ca24daae..6bdd9441aada2bb7c9d94a71278a4114f3b16f69 100644 (file)
@@ -39,6 +39,12 @@ from StringIO import StringIO
 import urllib
 import urllib2
 
+__author__ = 'Ian Weller <ian@ianweller.org>'
+__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 <ian@ianweller.org>'
-__version__ = '1.0.2'
-DEFAULT_UA = 'python-simplemediawiki/%s ' + \
-        '+https://github.com/ianweller/python-simplemediawiki' \
-        % __version__

Benjamin Mako Hill || Want to submit a patch?