[IMP] Docstrings

pull/95/head
Stefan Rijnhart 2014-02-20 15:42:46 +01:00
parent 974b1fc381
commit 077f4c500a
1 changed files with 4 additions and 1 deletions

View File

@ -37,7 +37,7 @@ class CleanupPurgeLineData(orm.TransientModel):
def purge(self, cr, uid, ids, context=None): def purge(self, cr, uid, ids, context=None):
""" """
Unlink columns upon manual confirmation. Unlink data entries upon manual confirmation.
""" """
data_ids = [] data_ids = []
for line in self.browse(cr, uid, ids, context=context): for line in self.browse(cr, uid, ids, context=context):
@ -61,6 +61,9 @@ class CleanupPurgeWizardData(orm.TransientModel):
def find(self, cr, uid, context=None): def find(self, cr, uid, context=None):
""" """
Collect all rows from ir_model_data that refer
to a nonexisting model, or to a nonexisting
row in the model's table.
""" """
res = [] res = []
data_pool = self.pool['ir.model.data'] data_pool = self.pool['ir.model.data']