Skip to content

Commit d16b959

Browse files
committed
Merge branch 'youtux-patch-1'
2 parents 7329871 + 12e2701 commit d16b959

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎catalog.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
"""
55
A class that uses different static function depending of a parameter passed in
6-
init. Note the use of a single dictionnary instead of multiple conditions
6+
init. Note the use of a single dictionary instead of multiple conditions
77
"""
88
__author__="Ibrahim Diop <http://ibrahim.zinaria.com>"
99
__gist__="<https://gist.github.com/diopib/7679559>"
@@ -28,7 +28,7 @@ def __init__(self, param):
2828
ifparaminself._static_method_choices.keys():
2929
self.param=param
3030
else:
31-
raiseException("Invalid Value for Param:{0}".format(param))
31+
raiseValueError("Invalid Value for Param:{0}".format(param))
3232

3333
@staticmethod
3434
def_static_method_1():

0 commit comments

Comments
(0)