@ -1,3 +1,6 @@
|
|||||||
|
2008-01-18 Jim Sack <jgsack@san.rr.com>
|
||||||
|
* src/GrampsDb/_WriteGedcom.py : #1621 use os.path.samefile in write_photo
|
||||||
|
|
||||||
2008-01-17 Benny Malengier <benny.malengier@gramps-project.org>
|
2008-01-17 Benny Malengier <benny.malengier@gramps-project.org>
|
||||||
* src/DataViews/_RelationView.py: isue #1605, not twice in same family
|
* src/DataViews/_RelationView.py: isue #1605, not twice in same family
|
||||||
|
|
||||||
|
@ -1449,7 +1449,7 @@ class GedcomWriter(UpdateCallback):
|
|||||||
return
|
return
|
||||||
basename = os.path.basename(path)
|
basename = os.path.basename(path)
|
||||||
dest = os.path.join (imgdir, basename)
|
dest = os.path.join (imgdir, basename)
|
||||||
if dest != path:
|
if not os.path.samefile(dest,path):
|
||||||
try:
|
try:
|
||||||
shutil.copyfile(path, dest)
|
shutil.copyfile(path, dest)
|
||||||
shutil.copystat(path, dest)
|
shutil.copystat(path, dest)
|
||||||
|
Reference in New Issue
Block a user