aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Stokes <adam.stokes@ubuntu.com>2014-08-20 21:25:58 -0400
committerAdam Stokes <adam.stokes@ubuntu.com>2014-08-20 21:25:58 -0400
commita917f43659f0b8c10b520fc7e4c285f9649e5ba5 (patch)
tree10a964434af2dc1928c083f59470214d101b8b62
parentb812cd8a8fd607ecbabe3d121537387040a877fd (diff)
downloadsos-a917f43659f0b8c10b520fc7e4c285f9649e5ba5.tar.gz
[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 <adam.stokes@ubuntu.com>
-rw-r--r--sos/__init__.py5
-rw-r--r--sos/__init__.py.in33
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 <astokes@fedoraproject.org>
-
-## 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 <astokes@fedoraproject.org>
+
+# 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