[tor-commits] [bridgedb/develop] Update docstring for I18n._().

isis at torproject.org isis at torproject.org
Thu Apr 17 05:10:02 UTC 2014


commit 09a49cd22939986a4b038c7e48f75c7a44853312
Author: Isis Lovecruft <isis at torproject.org>
Date:   Wed Apr 16 19:44:47 2014 +0000

    Update docstring for I18n._().
---
 lib/bridgedb/I18n.py |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/lib/bridgedb/I18n.py b/lib/bridgedb/I18n.py
index 112b8ae..c6fbf3f 100644
--- a/lib/bridgedb/I18n.py
+++ b/lib/bridgedb/I18n.py
@@ -12,8 +12,10 @@ def getLang(lang, localedir=os.path.expanduser("~") + "/share/locale"):
 
 def _(text):
     """This is necessary because strings are translated when they're imported.
-       Otherwise this would make it impossible to switch languages more than 
-       once
+    Otherwise this would make it impossible to switch languages more than
+    once.
+
+    :returns: The **text**.
     """
     return text
 





More information about the tor-commits mailing list