Fix Warnings generated while building of HTML docu

Same ID have been set to reference different RST blocks.
To avoid this, I added the prefix 'archi_' within ID referencing
architecture RST block.

Bad indentation warnings have been fixed.

Change-Id: I17f43f2f564ffd83fd5c345aed96fad06ee56b1d
Partial-Bug: #1522034
This commit is contained in:
David TARDIVEL
2016-01-15 09:22:25 +01:00
parent 037f43cd04
commit c811051351
15 changed files with 40 additions and 62 deletions

View File

@@ -61,9 +61,7 @@ class WatcherTerm(rst.Directive):
cls_path = self.arguments[0]
try:
module_name, obj_name = cls_path.rsplit(".", 1)
module = importlib.import_module(module_name)
cls = getattr(module, obj_name)
cls = importlib.import_module(cls_path)
except Exception as exc:
raise self.error(exc)