provide a default temp file name

svn: r1488
This commit is contained in:
Don Allingham 2003-05-03 13:28:27 +00:00
parent 960e030100
commit 7efdbd1cee

View File

@ -85,7 +85,7 @@ class TarFile:
# #
#------------------------------------------------------------------------ #------------------------------------------------------------------------
class ReadTarFile: class ReadTarFile:
def __init__(self,name,wd): def __init__(self,name,wd="/tmp"):
self.name = name self.name = name
self.wd = wd self.wd = wd
self.f = gzip.open(name,"rb") self.f = gzip.open(name,"rb")