Fixup ec2_facts docs parsing

This commit is contained in:
Michael DeHaan 2013-01-26 12:34:30 -05:00
parent 5e4d29565c
commit 36066d8664
3 changed files with 11 additions and 12 deletions

View file

@ -43,7 +43,6 @@ def get_docstring(filename, verbose=False):
if isinstance(child, ast.Assign):
if 'DOCUMENTATION' in (t.id for t in child.targets):
doc = yaml.load(child.value.s)
except:
if verbose == True:
traceback.print_exc()