Commit Graph

59 Commits

Author SHA1 Message Date
John Ralls
c2a6e0e5d7 Fix Py2 TypeError in GEDCOM export
Due to writing regular strings instead of unicode strings.

svn: r21375
2013-02-19 22:06:11 +00:00
John Ralls
09a875db11 GrampsLocale: Simplify the file-finding functions
Making use of the fact that GrampsLocale now knows what
encoding to use, and noting that filesystems don't use
more than one encoding to write filenames in directories.

Also specify the encoding on some more files

svn: r21148
2013-01-17 19:47:59 +00:00
John Ralls
ef6892abbd GrampsLocale: Remove ggettext
svn: r21144
2013-01-17 19:46:55 +00:00
Benny Malengier
8b39b80dc8 2620: GEPS 031: Python 3 support - 3.2
round 2 for python 3 support:
* no more cmp, also not in sort and sorted
* bsddb needs bytestring keys
* gtk does not need utf-8 encoded anymore...


svn: r20658
2012-11-15 08:08:31 +00:00
Benny Malengier
bb5fc7cb7c 2620: GEPS 031: Python 3 support - 3.2
This does patch updates Gramps to the 3.2 syntax, it does not yet mean Gramps works with python 3.2
Expect next day commits to fix further issues, but this is the main 2to3 tool created patch changed
where needed to have python 2.7 work. 
Specific issues might be:
  1. next has been changed, must be checked
  2. new division as on the wiki page listed is to do
  3. ...


svn: r20634
2012-11-07 17:53:14 +00:00
Nick Hall
55c19e4180 Changes to imports - part 7
svn: r20492
2012-10-02 21:08:19 +00:00
Nick Hall
a5c41d0566 Changes to imports - part 3
svn: r20487
2012-10-02 19:47:38 +00:00
Benny Malengier
149298c52b GEP 026: replace make
* somewhere along the road, all of plugins dir was added to sys.path, this
   is not ok, we only needed lib on sys.path
 * As due to the GEP we can import from the plugin directory, better just
   import the lib modules needed, and avoid sys.path extension
 * At the same time this fixes a bug due to __init__.py being present, import
   of a file named equal to the plugin directory was importing the __init__.py, 
   not the intended file.
 


svn: r20481
2012-10-02 11:31:00 +00:00
Benny Malengier
326d604365 GEPS 026: Replace 'make' for Gramps build
If we want to use Gramps from the code directory, src should be called gramps to allow import


svn: r20466
2012-09-30 11:55:52 +00:00