provide a default temp file name
svn: r1488
This commit is contained in:
parent
960e030100
commit
7efdbd1cee
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user