From 9eb87310bcdb699a313e161e883106cd0b914855 Mon Sep 17 00:00:00 2001 From: legac <renaud.legac@free.fr> Date: Sat, 11 Apr 2015 18:45:35 +0200 Subject: [PATCH] Fix the I{...} construct. --- modules/plugin_dbui/helper.py | 8 ++++---- modules/plugin_dbui/storemodifier.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/plugin_dbui/helper.py b/modules/plugin_dbui/helper.py index 430a22b8..cbcebfd5 100644 --- a/modules/plugin_dbui/helper.py +++ b/modules/plugin_dbui/helper.py @@ -275,7 +275,7 @@ def get_file_paths(path, ext=None, alpha=True): :type ext: str :param ext: - select only files with the extension ``ext``, I{i.e} + select only files with the extension ``ext``, *e.g* ``.js``, ``.css``, ... :type alpha: bool @@ -321,7 +321,7 @@ def get_foreign_field(field): * ``k_tablename`` is the name of the reference table - * ``k_fieldname`` is the name of the reference field, I{i.e} + * ``k_fieldname`` is the name of the reference field, *e.g.* ``table.field`` S{->} ``k_table.k_field`` * ``k_keyname`` is the name of the primary key of the reference table. @@ -395,7 +395,7 @@ def get_id(table, **kwargs): def get_language(): """Get the primary language of the application from the HTML - language code, I{i.e} ``en``, ``fr``, .... + language code, *e.g.* ``en``, ``fr``, .... :returns: str @@ -415,7 +415,7 @@ def get_plugin_path(plugin_name): """Get the local path of the plugin identified by its name. :type plugin_name: str - :param plugin_name: name of the plugin, I{i.e} ``"plugin_dbui"``. + :param plugin_name: name of the plugin, *e.g.* ``"plugin_dbui"``. :returns: str diff --git a/modules/plugin_dbui/storemodifier.py b/modules/plugin_dbui/storemodifier.py index d1c0db4c..9953c744 100644 --- a/modules/plugin_dbui/storemodifier.py +++ b/modules/plugin_dbui/storemodifier.py @@ -45,7 +45,7 @@ class AddStore(object): :note: The key associated to this store in the persistent dictionary is the ``storeId``. Its value is derived from the store name, - I{i.e} ``nameStore``. + *e.g.* ``nameStore``. """ static_stores = PluginManager('dbui').dbui.static_stores -- GitLab