aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2009-05-14 12:36:02 +0000
committernyamatongwe <devnull@localhost>2009-05-14 12:36:02 +0000
commit7fd0bfe58b70eb71dc11584a645eabcb26f85fb5 (patch)
treeef2cea783fa908e422b52da62cd102d82d2b84d7
parent4c02de8e006c39d148a6f560c238e12b8ce8d928 (diff)
downloadscintilla-mirror-7fd0bfe58b70eb71dc11584a645eabcb26f85fb5.tar.gz
Show error if no '=' in definition.
-rw-r--r--include/Face.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/Face.py b/include/Face.py
index 319ce41e5..52c9b8d0c 100644
--- a/include/Face.py
+++ b/include/Face.py
@@ -90,7 +90,11 @@ class Face:
elif featureType == "cat":
currentCategory = featureVal
elif featureType == "val":
- name, value = featureVal.split("=", 1)
+ try:
+ name, value = featureVal.split("=", 1)
+ except ValueError:
+ print("Failure %s" % featureVal)
+ raise
self.features[name] = {
"FeatureType": featureType,
"Category": currentCategory,