Commit c53e569c authored by Yoshinori Okuji's avatar Yoshinori Okuji

Skip CVS.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4673 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c09b9991
......@@ -226,6 +226,8 @@ class BusinessTemplateTarball(BusinessTemplateArchive):
io = StringIO(data)
tar = tarfile.TarFile(fileobj=io)
for info in tar.getmembers():
if 'CVS' in info.name.split('/'):
continue
if class_name in info.name:
if info.isreg():
file = tar.extractfile(info)
......
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