Commit 53be0528 authored by Arnaud Fontaine's avatar Arnaud Fontaine

ZODB Components: BusinessTemplate: On migration dialog, ignore source files...

ZODB Components: BusinessTemplate: On migration dialog, ignore source files not available anymore (ex: change branch).
parent b7f13038
......@@ -6395,7 +6395,10 @@ Business Template is a set of definitions, such as skins, portal types and categ
else:
# Canonicalize all paths before comparing (at the same time this will
# take care of trailing '/')
module_realpath = os.path.realpath(module_path)
try:
module_realpath = os.path.realpath(module_path)
except Exception:
return None
for working_copy_path in working_copy_path_list:
working_copy_path = os.path.realpath(working_copy_path)
if working_copy_path.endswith('bt5'):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment