aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/Face.py
diff options
context:
space:
mode:
authornyamatongwe <unknown>2009-05-14 12:36:02 +0000
committernyamatongwe <unknown>2009-05-14 12:36:02 +0000
commit56b8f2fb26d5c518712796a9832c3d43ea570c58 (patch)
treeef2cea783fa908e422b52da62cd102d82d2b84d7 /include/Face.py
parentf77ea4a919a9d6fac2c7d0544576ed9b697ccb3e (diff)
downloadscintilla-mirror-56b8f2fb26d5c518712796a9832c3d43ea570c58.tar.gz
Show error if no '=' in definition.
Diffstat (limited to 'include/Face.py')
-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,