|
a/src/filters/rcltar |
|
b/src/filters/rcltar |
|
... |
|
... |
22 |
|
22 |
|
23 |
def extractone(self, ipath):
|
23 |
def extractone(self, ipath):
|
24 |
docdata = ""
|
24 |
docdata = ""
|
25 |
try:
|
25 |
try:
|
26 |
info = self.tar.getmember(ipath)
|
26 |
info = self.tar.getmember(ipath)
|
27 |
if info.size > 50 * 1024 * 1024:
|
27 |
if info.size > self.em.maxmembersize:
|
28 |
# skip
|
28 |
# skip
|
29 |
docdata = ""
|
29 |
docdata = ""
|
30 |
self.em.rclog("extractone: entry %s size %d too big" %
|
30 |
self.em.rclog("extractone: entry %s size %d too big" %
|
31 |
(ipath, info.size))
|
31 |
(ipath, info.size))
|
32 |
docdata = "" # raise TarError("Member too big")
|
32 |
docdata = "" # raise TarError("Member too big")
|