provide a default temp file name

svn: r1488
This commit is contained in:
Don Allingham 2003-05-03 13:28:27 +00:00
parent 76d9200023
commit 3722a9e9dd

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")