summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/misc.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/plugins/misc.py')
-rw-r--r--ipalib/plugins/misc.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/ipalib/plugins/misc.py b/ipalib/plugins/misc.py
index ed50485..7167978 100644
--- a/ipalib/plugins/misc.py
+++ b/ipalib/plugins/misc.py
@@ -17,15 +17,15 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-"""
-Misc plug-ins
-"""
-
import re
from ipalib import api, LocalOrRemote, _, ngettext
from ipalib.output import Output, summary
from ipalib import Flag
+__doc__ = _("""
+Misc plug-ins
+""")
+
# FIXME: We should not let env return anything in_server
# when mode == 'production'. This would allow an attacker to see the
# configuration of the server, potentially revealing compromising
@@ -33,7 +33,7 @@ from ipalib import Flag
class env(LocalOrRemote):
- """Show environment variables"""
+ __doc__ = _('Show environment variables.')
msg_summary = _('%(count)d variables')
@@ -103,7 +103,7 @@ api.register(env)
class plugins(LocalOrRemote):
- """Show all loaded plugins"""
+ __doc__ = _('Show all loaded plugins.')
msg_summary = ngettext(
'%(count)d plugin loaded', '%(count)d plugins loaded', 0