parent
6246ba97aa
commit
ca68d0c5ae
@ -45,7 +45,8 @@ Narrative Web Page generator.
|
|||||||
#
|
#
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
from __future__ import with_statement
|
from __future__ import with_statement
|
||||||
import os, sys
|
import os
|
||||||
|
import sys
|
||||||
import re
|
import re
|
||||||
try:
|
try:
|
||||||
from hashlib import md5
|
from hashlib import md5
|
||||||
@ -5259,7 +5260,11 @@ class NavWebReport(Report):
|
|||||||
os.makedirs(destdir)
|
os.makedirs(destdir)
|
||||||
|
|
||||||
if from_fname != dest:
|
if from_fname != dest:
|
||||||
|
try:
|
||||||
shutil.copyfile(from_fname, dest)
|
shutil.copyfile(from_fname, dest)
|
||||||
|
except:
|
||||||
|
print "Copying error: %s" % sys.exc_info()[1]
|
||||||
|
print "Continuing..."
|
||||||
elif self.warn_dir:
|
elif self.warn_dir:
|
||||||
WarningDialog(
|
WarningDialog(
|
||||||
_("Possible destination error") + "\n" +
|
_("Possible destination error") + "\n" +
|
||||||
|
Loading…
x
Reference in New Issue
Block a user