aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/msec/config.py2
-rwxr-xr-xsrc/msec/help_draksec.py4
-rwxr-xr-xsrc/msec/libmsec.py2
-rwxr-xr-xsrc/msec/msec.py2
-rwxr-xr-xsrc/msec/msecgui.py2
-rwxr-xr-xsrc/msec/msecperms.py2
-rwxr-xr-xsrc/msec/plugins/audit.py2
-rwxr-xr-xsrc/msec/plugins/log.py2
-rwxr-xr-xsrc/msec/plugins/msec.py2
-rwxr-xr-xsrc/msec/plugins/network.py2
-rwxr-xr-xsrc/msec/plugins/pam.py2
-rwxr-xr-xsrc/msec/plugins/sectool.py2
-rwxr-xr-xsrc/msec/plugins/sudo.py2
-rwxr-xr-xsrc/msec/tools.py2
14 files changed, 15 insertions, 15 deletions
diff --git a/src/msec/config.py b/src/msec/config.py
index 6242fc7..b4466ed 100755
--- a/src/msec/config.py
+++ b/src/msec/config.py
@@ -38,7 +38,7 @@ SECURITYLOG = '/var/log/msec.log'
# localization
try:
- gettext.install('msec', str=1)
+ gettext.install('msec')
except IOError:
_ = str
diff --git a/src/msec/help_draksec.py b/src/msec/help_draksec.py
index 6863038..893b12b 100755
--- a/src/msec/help_draksec.py
+++ b/src/msec/help_draksec.py
@@ -31,7 +31,7 @@ import gettext
# localization
try:
- gettext.install('msec', unicode=1)
+ gettext.install('msec')
except IOError:
_ = str
@@ -53,7 +53,7 @@ import gettext
# localization
try:
- gettext.install('msec', unicode=1)
+ gettext.install('msec')
except IOError:
_ = str
diff --git a/src/msec/libmsec.py b/src/msec/libmsec.py
index 17e8dd2..f8a296a 100755
--- a/src/msec/libmsec.py
+++ b/src/msec/libmsec.py
@@ -57,7 +57,7 @@ from config import Narg
# localization
try:
- gettext.install('msec', str=1)
+ gettext.install('msec')
except IOError:
_ = str
diff --git a/src/msec/msec.py b/src/msec/msec.py
index a44267c..6e816c9 100755
--- a/src/msec/msec.py
+++ b/src/msec/msec.py
@@ -28,7 +28,7 @@ import logging
# localization
try:
- gettext.install('msec', str=1)
+ gettext.install('msec')
except IOError:
_ = str
diff --git a/src/msec/msecgui.py b/src/msec/msecgui.py
index 0d64dea..2a7142f 100755
--- a/src/msec/msecgui.py
+++ b/src/msec/msecgui.py
@@ -51,7 +51,7 @@ import logging
# localization
import gettext
try:
- gettext.install("msec", str=1)
+ gettext.install("msec")
except IOError:
_ = str
diff --git a/src/msec/msecperms.py b/src/msec/msecperms.py
index df3cdb1..2d0887a 100755
--- a/src/msec/msecperms.py
+++ b/src/msec/msecperms.py
@@ -18,7 +18,7 @@ import getopt
import gettext
try:
- gettext.install('msec', str=1)
+ gettext.install('msec')
except IOError:
_ = str
diff --git a/src/msec/plugins/audit.py b/src/msec/plugins/audit.py
index dc5e6e0..8dee7ab 100755
--- a/src/msec/plugins/audit.py
+++ b/src/msec/plugins/audit.py
@@ -10,7 +10,7 @@ import config
import gettext
# localization
try:
- gettext.install('msec', str=1)
+ gettext.install('msec')
except IOError:
_ = str
diff --git a/src/msec/plugins/log.py b/src/msec/plugins/log.py
index 3284cbc..993d3c0 100755
--- a/src/msec/plugins/log.py
+++ b/src/msec/plugins/log.py
@@ -12,7 +12,7 @@ import config
# localization
try:
- gettext.install('msec', str=1)
+ gettext.install('msec')
except IOError:
_ = str
diff --git a/src/msec/plugins/msec.py b/src/msec/plugins/msec.py
index 59366a4..fa8a41d 100755
--- a/src/msec/plugins/msec.py
+++ b/src/msec/plugins/msec.py
@@ -17,7 +17,7 @@ import config
import gettext
# localization
try:
- gettext.install('msec', str=1)
+ gettext.install('msec')
except IOError:
_ = str
diff --git a/src/msec/plugins/network.py b/src/msec/plugins/network.py
index a4f5400..ecaae94 100755
--- a/src/msec/plugins/network.py
+++ b/src/msec/plugins/network.py
@@ -17,7 +17,7 @@ import config
import gettext
# localization
try:
- gettext.install('msec', str=1)
+ gettext.install('msec')
except IOError:
_ = str
diff --git a/src/msec/plugins/pam.py b/src/msec/plugins/pam.py
index 776ad70..e02b6d9 100755
--- a/src/msec/plugins/pam.py
+++ b/src/msec/plugins/pam.py
@@ -14,7 +14,7 @@ import config
# localization
try:
- gettext.install('msec', str=1)
+ gettext.install('msec')
except IOError:
_ = str
diff --git a/src/msec/plugins/sectool.py b/src/msec/plugins/sectool.py
index a04dc51..72115a1 100755
--- a/src/msec/plugins/sectool.py
+++ b/src/msec/plugins/sectool.py
@@ -14,7 +14,7 @@ import config
# localization
try:
- gettext.install('msec', str=1)
+ gettext.install('msec')
except IOError:
_ = str
diff --git a/src/msec/plugins/sudo.py b/src/msec/plugins/sudo.py
index 2df7fbd..1f9eddd 100755
--- a/src/msec/plugins/sudo.py
+++ b/src/msec/plugins/sudo.py
@@ -14,7 +14,7 @@ import config
# localization
try:
- gettext.install('msec', str=1)
+ gettext.install('msec')
except IOError:
_ = str
diff --git a/src/msec/tools.py b/src/msec/tools.py
index 28c303b..baaeca2 100755
--- a/src/msec/tools.py
+++ b/src/msec/tools.py
@@ -14,7 +14,7 @@ from config import Narg, SYS_ENC
# localization
import gettext
try:
- gettext.install("msec", str=1)
+ gettext.install("msec")
except IOError:
_ = str