[sos-devel] [PATCH][git] Import internationalisation functions in policies
Bryn M. Reeves
bmr at redhat.com
Mon Nov 21 12:23:53 UTC 2011
Hi Folks,
Was playing around with git HEAD at the weekend and ran into a missing
definition for _() in the policy classes.
Cheers,
Bryn.
commit becd135ba3bf6a658b0310aa72e1f9d5b4994471
Author: Bryn M. Reeves <bmr at redhat.com>
Date: Fri Nov 18 16:18:21 2011 +0000
Import internationalisation from sos in policies/__init__.py
diff --git a/sos/policies/__init__.py b/sos/policies/__init__.py
index 0415b05..fc97637 100644
--- a/sos/policies/__init__.py
+++ b/sos/policies/__init__.py
@@ -2,6 +2,7 @@ import os
import platform
import time
+from sos import _sos as _
from sos.utilities import ImporterHelper, import_module
from sos.plugins import IndependentPlugin
@@ -60,7 +61,7 @@ and it will be considered confidential information.
This process may take a while to complete.
No changes will be made to your system.
-"""
+""")
distro = ""
More information about the sos-devel
mailing list