From 6bf020916c7afd31ea6e07241e1c9654a265d40f Mon Sep 17 00:00:00 2001 From: Xavier Yao Date: Fri, 24 Mar 2017 22:24:49 +0800 Subject: [PATCH] capture files for windows --- helpers/tf-xml-filelist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/tf-xml-filelist.py b/helpers/tf-xml-filelist.py index 68557d0..0899818 100755 --- a/helpers/tf-xml-filelist.py +++ b/helpers/tf-xml-filelist.py @@ -11,7 +11,7 @@ def get_filelist(xmlstring): for cnt in r.findall('s3:Contents', ns): key = cnt.find('s3:Key', ns) fname = key.text - if fname.endswith('/') or not (fname.startswith('linux') or fname.startswith('mac')): + if fname.endswith('/') or not (fname.startswith('linux') or fname.startswith('mac') or fname.startswith('windows')): continue size = cnt.find('s3:Size', ns).text