Revision: 8313
Author:   russblau
Date:     2010-06-23 10:09:51 +0000 (Wed, 23 Jun 2010)

Log Message:
-----------
fix syntax errors

Modified Paths:
--------------
    branches/rewrite/pywikibot/site.py

Modified: branches/rewrite/pywikibot/site.py
===================================================================
--- branches/rewrite/pywikibot/site.py  2010-06-22 19:49:04 UTC (rev 8312)
+++ branches/rewrite/pywikibot/site.py  2010-06-23 10:09:51 UTC (rev 8313)
@@ -1299,7 +1299,8 @@
         if onlyTemplateInclusion:
             return self.page_embeddedin(page, namespaces=namespaces,
                                         filterRedirects=filterRedirects,
-                                        step=step, total=total)        if not 
withTemplateInclusion:
+                                        step=step, total=total)
+        if not withTemplateInclusion:
             return self.pagebacklinks(page, followRedirects=followRedirects,
                                       filterRedirects=filterRedirects,         
                             namespaces=namespaces,
                                       step=step, total=total)
@@ -1352,7 +1353,6 @@
     def pageimages(self, page, step=None, total=None):
         """Iterate images used (not just linked) on the page."""
 
-        @param content: if True, load the current content of each iterated 
page            (default False); note that this means the content of the image  
          description page, not the image itself        """        imtitle = 
page.title(withSection=False).encode(self.encoding())
         imgen = self._generator(api.ImagePageGenerator, type_arg="images",
                                 titles=imtitle, step=step, total=total)
         return imgen



_______________________________________________
Pywikipedia-svn mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-svn

Reply via email to