From e3838d2c54b0e3856f9109bbda080e1531411b18 Mon Sep 17 00:00:00 2001 From: Mark Ellis Date: Thu, 22 Aug 2013 20:38:20 -0400 Subject: [PATCH] Updated sample.py with recent opensync library python API changes --- src/sample.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sample.py b/src/sample.py index d0b75b0e..bde9ea6c 100644 --- a/src/sample.py +++ b/src/sample.py @@ -5,7 +5,7 @@ class DummySink(opensync.ObjTypeSinkCallbacks): def __init__(self, info, objtype=None, objtypesink=None): opensync.ObjTypeSinkCallbacks.__init__(self, objtype, objtypesink) # Uncomment the following line for a NO_CONFIG plugin - #self.sink.add_objformat(opensync.ObjFormatSink("plain")) + #self.sink.add_objformat_sink(opensync.ObjFormatSink("plain")) self.objformat = info.format_env.find_objformat("plain") # Comment the following lines for a NO_CONFIG plugin res = info.config.find_active_resource(self.sink.name) -- 2.11.4.GIT