[FIX] Removed the unused wrong code
authorJigar Amin - OpenERP <jam@tinyerp.com>
Tue, 28 Aug 2012 10:17:23 +0000 (15:47 +0530)
committerJigar Amin - OpenERP <jam@tinyerp.com>
Tue, 28 Aug 2012 10:17:23 +0000 (15:47 +0530)
bzr revid: jam@tinyerp.com-20120828101723-d6qdm3bqpx3gcqbe

openerp/addons/base/ir/ir_translation.py

index f0a0ccc..40facb3 100644 (file)
@@ -78,8 +78,6 @@ class ir_translation_import_cursor(object):
         """Feed a translation, as a dictionary, into the cursor
         """
         state = ddict['value'] and "to_translate" or "translated" 
-        if not :
-            state = 
         self._cr.execute("INSERT INTO " + self._table_name \
                 + """(name, lang, res_id, src, type,
                         imd_model, imd_module, imd_name, value,state)