tmpfile.close()
proc = Popen(
- split("tar --sparse --exclude-vcs "
- "--exclude=./tmp --exclude=*.deb -zcf {0} .".
+ split("tar --sparse --exclude-vcs --exclude=output*.xml "
+ "--exclude=./tmp --exclude=*.deb --exclude=*.rpm -zcf {0} .".
format(file_name)), stdout=PIPE, stderr=PIPE)
(stdout, stderr) = proc.communicate()