[ocrfeeder: 13/15] Refactor DocumentGenerator's constructor



commit c39978fb9b67947f3ed681bdad78cd393a1337fc
Author: Joaquim Rocha <jrocha igalia com>
Date:   Sat Oct 6 17:57:11 2012 +0200

    Refactor DocumentGenerator's constructor

 src/ocrfeeder/feeder/documentGeneration.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/ocrfeeder/feeder/documentGeneration.py b/src/ocrfeeder/feeder/documentGeneration.py
index 2315405..3c83796 100644
--- a/src/ocrfeeder/feeder/documentGeneration.py
+++ b/src/ocrfeeder/feeder/documentGeneration.py
@@ -54,6 +54,10 @@ class DocumentGeneratorManager(object):
     def getFormats(self):
         return self.GENERATORS.keys()
 
+class DocumentGenerator(object):
+
+    def __init__(self):
+        pass
 
     def makeDocument(self):
         raise NotImplementedError('Method not defined!')



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]