From a917f43659f0b8c10b520fc7e4c285f9649e5ba5 Mon Sep 17 00:00:00 2001 From: Adam Stokes Date: Wed, 20 Aug 2014 21:25:58 -0400 Subject: [sos] update version template Updated `__init__.py.in` to be pep8 compliant. Also updated the version string to match that of whats defined in `sos.spec`. The alpha release 1 was manually appended since our Makefile only deals in release version. Signed-off-by: Adam Stokes --- sos/__init__.py | 5 ++--- sos/__init__.py.in | 33 +++++++++++++++++---------------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/sos/__init__.py b/sos/__init__.py index ae46c511..c868563f 100644 --- a/sos/__init__.py +++ b/sos/__init__.py @@ -15,12 +15,13 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + """ This module houses the i18n setup and message function. The default is to use gettext to internationalize messages. """ -__version__ = "3.1" +__version__ = "3.2.0a1" import gettext gettext_dir = "/usr/share/locale" @@ -33,5 +34,3 @@ def _default(msg): return gettext.dgettext(gettext_app, msg) _sos = _default - -# vim: et ts=4 sw=4 diff --git a/sos/__init__.py.in b/sos/__init__.py.in index e239e37c..9d2903f6 100644 --- a/sos/__init__.py.in +++ b/sos/__init__.py.in @@ -1,19 +1,20 @@ -## Copyright 2010 Red Hat, Inc. -## Author: Adam Stokes - -## 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 -## the Free Software Foundation; either version 2 of the License, or -## (at your option) any later version. - -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU General Public License for more details. - -## You should have received a copy of the GNU General Public License -## along with this program; if not, write to the Free Software -## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# Copyright 2010 Red Hat, Inc. +# Author: Adam Stokes + +# 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 +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + """ This module houses the i18n setup and message function. The default is to use -- cgit