else was wrong
This commit is contained in:
parent
0eb426bb9e
commit
465ace4c14
1 changed files with 1 additions and 2 deletions
|
@ -56,8 +56,7 @@ def merge_fragment(target, source):
|
|||
value = sorted(frozenset(value + target[key]))
|
||||
else:
|
||||
raise Exception("Attempt to extend a documentation fragement, invalid type for %s" % key)
|
||||
else:
|
||||
target[key] = value
|
||||
target[key] = value
|
||||
|
||||
|
||||
def add_fragments(doc, filename):
|
||||
|
|
Loading…
Reference in a new issue