Commit Graph

11 Commits

Author SHA1 Message Date
Paul Franklin
58fdfa622b added GPL "boilerplate", SVN properties, and SVN Id line as needed
svn: r22597
2013-06-24 19:30:56 +00:00
Gerald Britton
1f2469b09f Simplify with built-in functions where possible. e.g.
change [x for x in y if x] to filter(None, y)
change [f(x) for x in y] to map(f, x)
change [x for x in y] to list(y)

These changes reduce source code size and complexity and produce some minor performance gains

svn: r14104
2010-01-21 18:42:53 +00:00
Doug Blank
0f20544be3 Changes to allow GrampsDb tests to run
svn: r13893
2009-12-23 15:48:01 +00:00
Gerald Britton
2671a8cd50 Replace "== None" and "!= None" with "is None" and "is not None", respectively
svn: r12098
2009-02-23 19:11:46 +00:00
Brian Matherly
2e9a488e3e Refactor export plugin framework. All importers and exporters are now plugins.
svn: r11243
2008-11-04 04:12:51 +00:00
Brian Matherly
e9c1b1de89 Remove GRDB export code. GRDB export is not supported.
svn: r11144
2008-10-14 11:54:42 +00:00
Richard Taylor
190d20fcee fix test case to work with reindex_reference_map
svn: r7795
2006-12-13 10:03:52 +00:00
Alex Roitman
9aeb975d1c * test/GrampsDb/GrampsDbBase_Test.py (test_reindex_reference_map):
Properly define lambda to fake the _update_reference_map method.


svn: r7678
2006-11-24 05:39:14 +00:00
Richard Taylor
90247368d9 make ref update optional
svn: r5780
2006-01-17 21:10:20 +00:00
Richard Taylor
b2b6cb0ad5 * src/EditPlace.py: changed display_references to use find_backlink_handles
* src/EditRepository.py: modified to use  find_backlink_handles and fixed subtle bug
	* src/RelLib/_Source.py: added reporef_list to referent object lists so that backref
	are put in reference_map
	* test/GrampsDb/GrampsDbBase_Test.py: added unittest for source/reference backlinks
	* test/GrampsDb/GrampsDbTestBase.py: added unittest for source/reference backlinks


svn: r5616
2005-12-22 12:02:06 +00:00
Richard Taylor
9eb1f99b86 move database code into new package
svn: r5598
2005-12-21 11:27:05 +00:00