Add to -h output new text about -y and -q
impex.sh switched to use --yes and --quiet
Refactor ArgHandler to reuse User object
ArgHandler now uses user.prompt
No longer custom code duplicating user.prompt functionality
This dropped support for English yes/no and prefixes in the
"OK to overwrite?", as User.prompt allows pressing "Enter"
to accept by default, and everything else except
verbatim accept choice will be treated as reject.
cli.user.User.prompt now supports treating EOF as a reject
prompt message reformatted: added newline after title
Previously, code
'-q' in ('--qml')
returned True, which was not what ArgParser meant.
Changed the rhs of in to [] from () to avoid this for every case
in ArgParser.parse in the future as well.
Tests run: the new UT added and impex.sh
svn: r22916
Fixed the file locations to work for the gramps40/trunk layout.
Also porting my fix from gramps34 branch for
6837: runtest.sh runs some reports that no longer exist
svn: r22684
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
* data/gramps.schemas.in: default transactions to off
* src/Config/_GrampsConfigKeys.py: default transaction to off
* src/Editors/_EditFamily.py: remove dead code
* src/plugins/DetDescendantReport.py: remove dead code
svn: r7631
2006-05-01 Alex Roitman <shura@gramps-project.org>
* various: merge changes from gramps20.
In po:
2006-05-01 Alex Roitman <shura@gramps-project.org>
* POTFILES.in: Add new file.
svn: r6504
* 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
* test/GrampsDbBase_Test.py: factored out common db test methods
* test/GrampsDbTestBase.py: new base class for unittests that
need to create database records
* test/RelLib_Test.py: unittest for the
* get_backlink_handles method
svn: r5583