diff options
-rw-r--r-- | dealconvert/formats/lin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dealconvert/formats/lin.py b/dealconvert/formats/lin.py index 0c740c1..c2f3a0e 100644 --- a/dealconvert/formats/lin.py +++ b/dealconvert/formats/lin.py @@ -45,7 +45,7 @@ class LINFormat(DealFormat): if layout: if deal_number in deals: if deals[deal_number] != layout: - print 'error, duplicate board number with differing layout' + raise RuntimeError('multiple boards #%d with different layouts' % (deal_number)) deals[deal_number] = layout else: print 'layout not parsed: ' + fields['md'][0] |