Commit ae5cfe83 authored by Jesse van den Kieboom's avatar Jesse van den Kieboom

fix bug with error handling of invalid regular expressions (replaced

	* plugins/snippets/snippets/Placeholder.py: fix bug with error handling
	of invalid regular expressions (replaced re.Error with re.error)

svn path=/trunk/; revision=5723
parent a5f34c39
2007-07-17 Jesse van den Kieboom <jesse@icecrew.nl>
* plugins/snippets/snippets/Placeholder.py: fix bug with error handling
of invalid regular expressions (replaced re.Error with re.error)
2007-07-16 Paolo Borelli <pborelli@katamail.com>
* data/gedit.schemas.in:
......
......@@ -617,7 +617,7 @@ class PlaceholderRegex(PlaceholderExpand):
# Try to compile pattern
try:
regex = re.compile(pattern, self.modifiers)
except re.Error, message:
except re.error, message:
sys.stderr.write('Could not compile regular expression: %s\n%s\n' % (pattern, message))
return False
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment