Some prelim work on builder api.
[librarian.git] / src / librarian / builders / txt.py
index 28fe709..69ddbe2 100644 (file)
@@ -37,6 +37,7 @@ class TxtFragment:
 class TxtBuilder:
     """
     """
 class TxtBuilder:
     """
     """
+    build_method_fn = 'txt_build'
     file_extension = "txt"
     identifier = "txt"
     after_child_fn = 'txt_after_child'
     file_extension = "txt"
     identifier = "txt"
     after_child_fn = 'txt_after_child'
@@ -115,7 +116,7 @@ class TxtBuilder:
                     for translator in meta.translators
                 )
             )
                     for translator in meta.translators
                 )
             )
-            builder.push_margin(2)
+            self.push_margin(2)
 
         if meta.isbn_txt:
             self.push_margin(2)
 
         if meta.isbn_txt:
             self.push_margin(2)