diff MoinMoin/action/SyncPages.py @ 1299:6bbd177f5b36

Oops, fixed minor NameError.
author Alexander Schremmer <alex AT alexanderweb DOT de>
date Tue, 15 Aug 2006 23:31:55 +0200
parents d1a4083fc36e
children a0b8e78621d0
line wrap: on
line diff
--- a/MoinMoin/action/SyncPages.py	Tue Aug 15 23:18:58 2006 +0200
+++ b/MoinMoin/action/SyncPages.py	Tue Aug 15 23:31:55 2006 +0200
@@ -176,11 +176,11 @@
 
         m_pages = [elem.add_missing_pagename(local, remote) for elem in SyncPage.merge(l_pages, r_pages)]
 
-        self.log_status(INFO, "Got %i local, %i remote pages, %i merged pages" % (len(l_pages), len(r_pages), len(m_pages))) # XXX remove?
+        self.log_status(self.INFO, "Got %i local, %i remote pages, %i merged pages" % (len(l_pages), len(r_pages), len(m_pages))) # XXX remove?
 
         if params["pageMatch"]:
             m_pages = SyncPage.filter(m_pages, params["pageMatch"].match)
-        self.log_status(INFO, "After filtering: Got %i merges pages" % (len(m_pages), )) # XXX remove
+        self.log_status(self.INFO, "After filtering: Got %i merges pages" % (len(m_pages), )) # XXX remove
 
         on_both_sides = list(SyncPage.iter_local_and_remote(m_pages))
         remote_but_not_local = list(SyncPage.iter_remote_only(m_pages))