* 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:
parent
15b2843d93
commit
671726bf60
@ -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>
|
2007-12-16 Douglas S. Blank <dblank@cs.brynmawr.edu>
|
||||||
* src/plugins/ReadPkg.py: attempt to os.remove(directory) failed
|
* src/plugins/ReadPkg.py: attempt to os.remove(directory) failed
|
||||||
* src/GrampsDb/_GrampsDbFactories.py: import from gen.db
|
* src/GrampsDb/_GrampsDbFactories.py: import from gen.db
|
||||||
|
@ -491,7 +491,7 @@ class DbManager:
|
|||||||
rev = self.data_to_delete[0]
|
rev = self.data_to_delete[0]
|
||||||
parent = store[(path[0],)][0]
|
parent = store[(path[0],)][0]
|
||||||
QuestionDialog.QuestionDialog(
|
QuestionDialog.QuestionDialog(
|
||||||
_("Remove the '%{revision}s' version of %{database}s") % {
|
_("Remove the '%(revision)s' version of '%(database)s'") % {
|
||||||
'revision' : rev,
|
'revision' : rev,
|
||||||
'database' : parent
|
'database' : parent
|
||||||
},
|
},
|
||||||
@ -533,7 +533,7 @@ class DbManager:
|
|||||||
rev = self.data_to_delete[PATH_COL]
|
rev = self.data_to_delete[PATH_COL]
|
||||||
archive = os.path.join(db_dir, ARCHIVE_V)
|
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)
|
proc = subprocess.Popen(cmd, stderr = subprocess.PIPE)
|
||||||
status = proc.wait()
|
status = proc.wait()
|
||||||
|
@ -203,7 +203,7 @@ def family_upper_name(family, db):
|
|||||||
if father and mother:
|
if father and mother:
|
||||||
fname = father.get_primary_name().get_upper_name()
|
fname = father.get_primary_name().get_upper_name()
|
||||||
mname = mother.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,
|
'father' : fname,
|
||||||
'mother' : mname
|
'mother' : mname
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user