
from moai import Plugin, name

class ExamplePlugin(Plugin):
    name('example_plugin')

    def __init__(self, database, log, config):
        self.db = database
        self.log = log
        self.config = config
        
    def run(self, updated_ids):
        self.log.info('Hello %s from ExamplePlugin' % self.config['hello'])
        
        print 'Hello %s -> Updating %s records' % (self.config['hello'],
                                                   len(updated_ids))

@@ -358,16 +358,36 @@
 ello %25s 
+from example plugin 
 -%3E Updat
@@ -405,16 +405,33 @@
 rds' %25 (
+%0A                
 self.con
@@ -447,59 +447,8 @@
 o'%5D,
-%0A                                                  
  len

make output a bit more clear