From 0cd99ce16fd568224c4d7265bc8892aa8d7aff36 Mon Sep 17 00:00:00 2001
From: Ivan Tyagov <ivan@nexedi.com>
Date: Tue, 15 Jun 2010 06:55:59 +0000
Subject: [PATCH] Fix unbound variable

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36333 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/Document/TextDocument.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ERP5/Document/TextDocument.py b/product/ERP5/Document/TextDocument.py
index 788af5f2e5..942de51806 100644
--- a/product/ERP5/Document/TextDocument.py
+++ b/product/ERP5/Document/TextDocument.py
@@ -235,7 +235,7 @@ class TextDocument(CachedConvertableMixin, BaseConvertableFileMixin,
     def getBaseData(self, default=_MARKER):
       """
       """
-      self._checkConversionFormatPermission(None, **kw)
+      self._checkConversionFormatPermission(None)
       if default is _MARKER:
         return self.getTextContent()
       else:
-- 
2.30.9