Skip to content

Commit fae136c

Browse files
committed
Made migration doc:0013 more robust.
- Legacy-Id: 11903
1 parent 196f6a1 commit fae136c

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

ietf/doc/migrations/0013_auto_20151027_1127.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# -*- coding: utf-8 -*-
1+
# -*- coding: utf-8 -*-
22
from __future__ import unicode_literals
33

44
import sys
@@ -32,7 +32,11 @@ def canonical_name(self):
3232
if a:
3333
name = a[0].name
3434
elif self.type_id == "charter":
35-
return charter_name_for_group(self.chartered_group)
35+
try:
36+
return charter_name_for_group(self.chartered_group)
37+
except Exception as e:
38+
print("Exception: %s" % e)
39+
print("Document: %s" % name)
3640
return name
3741

3842
def charter_name_for_group(group):

0 commit comments

Comments
 (0)