Reid Price reid@nicira.com
Romain Lenglet romain.lenglet@berabera.info
Sajjad Lateef slateef@nicira.com
+Shih-Hao Li shli@nicira.com
Simon Horman horms@verge.net.au
Tetsuo NAKAGAWA nakagawa@mxc.nes.nec.co.jp
Thomas Lacroix thomas.lacroix@citrix.com
return 0
if k == '--output':
- if v in ['tar', 'tar.bz2', 'zip']:
+ if v in ['tar', 'tar.bz2', 'tar.gz', 'zip']:
output_type = v
else:
print >>sys.stderr, "Invalid output format '%s'" % v
mode = 'w'
if suffix == 'tar.bz2':
mode = 'w:bz2'
+ elif suffix == 'tar.gz':
+ mode = 'w:gz'
filename = "%s/%s.%s" % (BUG_DIR, subdir, suffix)
if output_fd == -1: