Commit Graph

18 Commits

Author SHA1 Message Date
Peter Landgren
7ad1b8563f Fixed another problem with string formatting using {}.
svn: r14611
2010-03-04 13:39:22 +00:00
Rob G. Healey
36a91b6cb9 Changed some formatted strings to named variables for 'make distcheck' to work properly.
svn: r14483
2010-02-25 15:52:32 +00:00
Doug Blank
7f5e91d9ea 3428: When running with pythonw.exe, Windows may crash if you write to stdout
svn: r14396
2010-02-16 02:18:24 +00:00
Gerald Britton
8f0582df8a Use built-in functions to replace for loops:
Old code:

for x in y:
  f(x)

New Code:

map(f, y)

Also use defaultdict instead of simple dict when advantageous and use list comprehensions
instead of for loops where map() could be used but requires lambdas.


svn: r14135
2010-01-25 17:45:21 +00:00
Brian Matherly
f04880ec09 Move gettext, ngettext and sgettext calls into the new ggettext module. All of them return unicode all of the time.
svn: r14091
2010-01-18 04:42:17 +00:00
Doug Blank
54ac83e6ed 3420: Error in line 498 of importCSV.py during CSV import.
svn: r13740
2009-12-08 01:13:42 +00:00
Peter Landgren
c1c5a61266 Update for consistent use of Gramps. See issue 3355.
svn: r13621
2009-11-18 08:34:20 +00:00
Peter Landgren
900d1c57f4 Second update for consistent use of Gramps. See issue 3355.
svn: r13611
2009-11-17 20:45:58 +00:00
Benny Malengier
ed619cfdd6 3292: register plugins, load on need, not on start of GRAMPS - GEPS 014
svn: r13400
2009-10-24 13:53:20 +00:00
Doug Blank
acfb0c8344 Changed set_wife_handle to set_mother_handle
svn: r12821
2009-07-20 06:28:55 +00:00
Gerald Britton
181c0c9b41 Replace get_place_handles with iter_place_handles
svn: r12778
2009-07-08 18:11:02 +00:00
Benny Malengier
9d417e2cd6 Split Utils in a non GUI and GUI part
move GrampsCfg utils to Utils
improve import strategy


svn: r12680
2009-06-19 15:23:58 +00:00
Gerald Britton
fc90d5fce2 Bug 3018: remove calls to keys() dictionary method where possible
svn: r12562
2009-05-22 18:43:40 +00:00
Gerald Britton
021b754939 Bug 3011: change old-style classes to new-style classes
svn: r12559
2009-05-21 17:19:50 +00:00
Jérôme Rapinat
a3d33aff16 2704: Translation problem word Title (contribution by jannek)
svn: r11970
2009-02-12 07:31:08 +00:00
Jérôme Rapinat
e4f5ad0142 #2657,#1718 use ngettext
svn: r11800
2009-02-02 17:13:02 +00:00
Jérôme Rapinat
1e6da8730c #2657,#1718 use ngettext
svn: r11773
2009-01-31 11:29:44 +00:00
Brian Matherly
6671a8f26e Plugins Restructure: Move import plugins into plugins/import.
svn: r11641
2009-01-17 03:36:19 +00:00