Fix skip check to actually work for non-broken drafts

- Legacy-Id: 3867
This commit is contained in:
Ole Laursen 2012-01-26 16:21:29 +00:00
parent 2dc118c53f
commit ed168a5ce3

View file

@ -823,6 +823,7 @@ for index, o in enumerate(all_drafts.iterator()):
new_s = State.objects.get(type="draft-stream-%s" % d.stream_id, name=s.name)
# fix some bugs in the old data
skip = False
if s.name == "WG Document" and d.group.type_id == "individ":
skip = True