[python-meh][PATCH] Use named tuples instead of our magic tuples
Vratislav Podzimek
vpodzime at redhat.com
Wed Mar 6 12:16:44 UTC 2013
On Tue, 2013-03-05 at 14:22 +0100, Vratislav Podzimek wrote:
> Using ExceptionInfo and DumpInfo named tuples makes code clearer and
> simplifies documentation.
>
> Signed-off-by: Vratislav Podzimek <vpodzime at redhat.com>
> ---
> meh/__init__.py | 8 ++++++++
> meh/dump.py | 24 ++++++++++++------------
> meh/handler.py | 54 +++++++++++++++++++++++++++---------------------------
> po/python-meh.pot | 2 +-
> tests/baseclass.py | 3 ++-
> 5 files changed, 50 insertions(+), 41 deletions(-)
>
> diff --git a/po/python-meh.pot b/po/python-meh.pot
> index 44395da..5d4f33f 100644
> --- a/po/python-meh.pot
> +++ b/po/python-meh.pot
> @@ -8,7 +8,7 @@ msgid ""
> msgstr ""
> "Project-Id-Version: PACKAGE VERSION\n"
> "Report-Msgid-Bugs-To: \n"
> -"POT-Creation-Date: 2013-01-21 12:43+0100\n"
> +"POT-Creation-Date: 2013-03-05 12:14+0100\n"
> "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
> "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
> "Language-Team: LANGUAGE <LL at li.org>\n"
This part shouldn't be included in the patch. Fixed locally.
--
Vratislav Podzimek
Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic
More information about the anaconda-patches
mailing list