1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

flake8 clean ups

This commit is contained in:
Matt Martz 2016-02-20 11:54:13 -06:00 committed by John Barker
parent 75b299e6de
commit 113c74faac

View file

@ -8,7 +8,6 @@ import ast
import os
import re
import sys
import traceback
from distutils.version import StrictVersion
from fnmatch import fnmatch
@ -328,7 +327,6 @@ class ModuleValidator(Validator):
elif grandchild.id == 'EXAMPLES':
docs['EXAMPLES']['value'] = child.value.s[1:]
docs['EXAMPLES']['lineno'] = child.lineno
examples = child.value.s[1:]
elif grandchild.id == 'RETURN':
docs['RETURN']['value'] = child.value.s
docs['RETURN']['lineno'] = child.lineno