Commit 095804a3 authored by Curtis Hovey's avatar Curtis Hovey Committed by Curtis Christopher Hovey

load tool property if it is not already in _properties. Fix bug 484318.

2007-10-07 Curtis Hovey <sinzui.is@verizon.net>

        * plugins/externaltools/tools/library.py: load tool property if
    it is not already in _properties. Fix bug 484318.

svn path=/trunk/; revision=5952
parent c22fea5d
2007-10-07 Curtis Hovey <sinzui.is@verizon.net>
* plugins/externaltools/tools/library.py: load tool property if
it is not already in _properties. Fix bug 484318.
2007-10-06 Paolo Borelli <pborelli@katamail.com>
* gedit/dialogs/gedit-preferences-dialog.glade: mark string as
......
......@@ -212,7 +212,7 @@ class Tool(object):
(key, value) = [i.strip() for i in line[2:].split('=', 1)]
m = self.RE_KEY.match(key)
if m.group(3) is None:
if m.group(0) in self._properties:
if m.group(0) not in self._properties:
self._properties[m.group(1)] = value
elif lang is not None and lang.startswith(m.group(3)):
self._properties[m.group(1)] = value
......
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