summaryrefslogtreecommitdiffstats
path: root/scintilla/include/Face.py
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@users.sourceforge.net>2011-09-23 08:33:32 +0000
committerXhmikosR <xhmikosr@users.sourceforge.net>2011-09-23 08:33:32 +0000
commit9ec2572dd796bd73a82c2a0512bc75cc4139b245 (patch)
tree726687904db9eb11339cd32326f635730c6e92c0 /scintilla/include/Face.py
parentab6ec83702436ef852a7a20d2ca227d0de7ca4e6 (diff)
downloadnotepad2-mod-9ec2572dd796bd73a82c2a0512bc75cc4139b245.zip
notepad2-mod-9ec2572dd796bd73a82c2a0512bc75cc4139b245.tar.gz
notepad2-mod-9ec2572dd796bd73a82c2a0512bc75cc4139b245.tar.bz2
update Scintilla
git-svn-id: https://notepad2-mod.googlecode.com/svn/trunk@574 28bd50df-7adb-d945-0439-6e466c6a13cc
Diffstat (limited to 'scintilla/include/Face.py')
-rw-r--r--scintilla/include/Face.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/scintilla/include/Face.py b/scintilla/include/Face.py
index 9a92bb0..642b957 100644
--- a/scintilla/include/Face.py
+++ b/scintilla/include/Face.py
@@ -72,7 +72,7 @@ class Face:
"Category": currentCategory, "Comment": currentComment
}
if value in self.values:
- raise "Duplicate value " + value + " " + name
+ raise Exception("Duplicate value " + value + " " + name)
self.values[value] = 1
self.order.append(name)
elif featureType == "evt":
@@ -84,7 +84,7 @@ class Face:
"Category": currentCategory, "Comment": currentComment
}
if value in self.events:
- raise "Duplicate event " + value + " " + name
+ raise Exception("Duplicate event " + value + " " + name)
self.events[value] = 1
self.order.append(name)
elif featureType == "cat":
@@ -94,7 +94,7 @@ class Face:
name, value = featureVal.split("=", 1)
except ValueError:
print("Failure %s" % featureVal)
- raise
+ raise Exception()
self.features[name] = {
"FeatureType": featureType,
"Category": currentCategory,