* src/DbManager.py: typo %{}s -> %()s; fixed rcs -q issue

* src/Utils.py: typo %{}s -> %()s 

2007-12-16  Douglas S. Blank  <dblank@cs.brynmawr.edu>


svn: r9521
This commit is contained in:
Doug Blank 2007-12-16 17:35:16 +00:00
parent 15b2843d93
commit 671726bf60
3 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2007-12-16 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/DbManager.py: typo %{}s -> %()s; fixed rcs -q issue
* src/Utils.py: typo %{}s -> %()s
2007-12-16 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/plugins/ReadPkg.py: attempt to os.remove(directory) failed
* src/GrampsDb/_GrampsDbFactories.py: import from gen.db

View File

@ -491,7 +491,7 @@ class DbManager:
rev = self.data_to_delete[0]
parent = store[(path[0],)][0]
QuestionDialog.QuestionDialog(
_("Remove the '%{revision}s' version of %{database}s") % {
_("Remove the '%(revision)s' version of '%(database)s'") % {
'revision' : rev,
'database' : parent
},
@ -533,7 +533,7 @@ class DbManager:
rev = self.data_to_delete[PATH_COL]
archive = os.path.join(db_dir, ARCHIVE_V)
cmd = [ "rcs", "-o%s" % rev, archive ]
cmd = [ "rcs", "-o%s" % rev, "-q", archive ]
proc = subprocess.Popen(cmd, stderr = subprocess.PIPE)
status = proc.wait()

View File

@ -203,7 +203,7 @@ def family_upper_name(family, db):
if father and mother:
fname = father.get_primary_name().get_upper_name()
mname = mother.get_primary_name().get_upper_name()
name = _("%{father}s and %{mother}s") % {
name = _("%(father)s and %(mother)s") % {
'father' : fname,
'mother' : mname
}