From fd915ad3af31e9ac024f50c13c8dab2fa784d3e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Tue, 10 Feb 2009 13:23:11 +0000 Subject: [PATCH] pylint svn: r11948 --- src/plugins/quickview/Reporef.py | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/plugins/quickview/Reporef.py b/src/plugins/quickview/Reporef.py index 8b498221f..7620784b4 100755 --- a/src/plugins/quickview/Reporef.py +++ b/src/plugins/quickview/Reporef.py @@ -4,7 +4,7 @@ # Gramps - a GTK+/GNOME based genealogy program # # Copyright (C) 2006-2007 Alex Roitman -# Copyright (C) 2007-2008 Jerome Rapinat +# Copyright (C) 2007-2009 Jerome Rapinat # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -35,10 +35,11 @@ from Simple import SimpleDoc from gettext import gettext as _ from gen.plug import PluginManager from ReportBase import CATEGORY_QR_REPOSITORY -import gen.lib - def run(database, document, repo): + """ + Display back-references (sources) for this repository. + """ sdoc = SimpleDoc(document) @@ -78,14 +79,16 @@ def run(database, document, repo): # # ------------------------------------------------------------------------ -pmgr = PluginManager.get_instance() +PMGR = PluginManager.get_instance() -pmgr.register_quick_report( +PMGR.register_quick_report( name='RepoRef', category=CATEGORY_QR_REPOSITORY, run_func=run, translated_name=_('RepoRef'), - status=_('Beta'), + status=_('Stable'), description=_('Display RepoRef for sources related to active repository' ), + author_name="Jerome Rapinat", + author_email="romjerome@yahoo.fr" )