Browse Source

[IMP] Docstrings

pull/95/head
Stefan Rijnhart 11 years ago
parent
commit
077f4c500a
  1. 5
      database_cleanup/model/purge_data.py

5
database_cleanup/model/purge_data.py

@ -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']

Loading…
Cancel
Save