From a8375c02dfa8f2e5bcaa03955c3cb8cfa945f7e7 Mon Sep 17 00:00:00 2001 From: Gerald Britton Date: Fri, 11 Feb 2011 14:03:02 +0000 Subject: [PATCH] Rearrange comments for added clarity svn: r16601 --- src/plugins/tool/Check.py | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/src/plugins/tool/Check.py b/src/plugins/tool/Check.py index a6e4f2fec..2b129e3f8 100644 --- a/src/plugins/tool/Check.py +++ b/src/plugins/tool/Check.py @@ -621,20 +621,19 @@ class CheckIntegrity(object): def _f(value): return self._check_empty(value, empty, flag) return _f - - ''' - Dispatch table for cleaning up empty objects. Each entry is - a tuple containing: - 0. Type of object being cleaned up - 1. function to read the object from the database - 2. function returning cursor over the object type - 3. function returning number of objects of this type - 4. text identifying the object being cleaned up - 5. function to check if the data is empty - 6. function to remove the object, if empty - ''' table = ( + + # Dispatch table for cleaning up empty objects. Each entry is + # a tuple containing: + # 0. Type of object being cleaned up + # 1. function to read the object from the database + # 2. function returning cursor over the object type + # 3. function returning number of objects of this type + # 4. text identifying the object being cleaned up + # 5. function to check if the data is empty + # 6. function to remove the object, if empty + ('persons', _db.get_person_from_handle, _db.get_person_cursor,