2007-10-18 Douglas S. Blank <dblank@cs.brynmawr.edu>

* src/BasicUtils/_NameDisplay.py: bug in making patterns with uppercase



svn: r9210
This commit is contained in:
Doug Blank 2007-10-19 00:14:13 +00:00
parent 0f2327429e
commit addfde0e5f
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
2007-10-18 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/BasicUtils/_NameDisplay.py: bug in making patterns with uppercase
2007-10-18 Benny Malengier <benny.malengier@gramps-project.org>
* src/DisplayTabs/__init__.py: add note backref
* src/glade/gramps.glade: add notebook to note editor to show backref

View File

@ -388,7 +388,7 @@ class NameDisplay:
match_pattern = mat.group(0) # the matching pattern
# prefix, code, suffix:
p, code, s = re.split("%(.)", match_pattern)
field = d[code][0]
field = d[code.lower()][0]
if code.isupper():
field += ".upper()"
if p == '' and s == '':