provide a default temp file name
svn: r1488
This commit is contained in:
parent
76d9200023
commit
3722a9e9dd
@ -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