summaryrefslogtreecommitdiff
path: root/dealconvert/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'dealconvert/__init__.py')
-rw-r--r--dealconvert/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dealconvert/__init__.py b/dealconvert/__init__.py
index 2f9b5aa..3b5a8ba 100644
--- a/dealconvert/__init__.py
+++ b/dealconvert/__init__.py
@@ -20,4 +20,4 @@ class DealConverter(object):
deal_format.upper() + 'Format')()
if self.formats[deal_format].match_file(filename):
return self.formats[deal_format]
- raise ValueError('Unrecognized file extension: %s' % filename)
+ raise RuntimeError('Unrecognized file extension: %s' % filename)