From 822483ab7075a201d3e50ad9d9460a379d611482 Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Fri, 10 Apr 2020 18:01:00 +0200 Subject: [PATCH] manage method in service --- src/rougail/annotator.py | 2 +- src/rougail/data/rougail.dtd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rougail/annotator.py b/src/rougail/annotator.py index e3c9f18aa..08d9e502f 100644 --- a/src/rougail/annotator.py +++ b/src/rougail/annotator.py @@ -113,7 +113,7 @@ class ServiceAnnotator: def convert_service_to_family(self, service_name, service_family, service): for elttype, values in vars(service).items(): - if elttype in ['name', 'index']: + if elttype in ['name', 'index', 'method']: continue family = self.objectspace.family() family.name = elttype + 's' diff --git a/src/rougail/data/rougail.dtd b/src/rougail/data/rougail.dtd index 4dc3ef58e..22495198e 100644 --- a/src/rougail/data/rougail.dtd +++ b/src/rougail/data/rougail.dtd @@ -68,7 +68,7 @@ - +