mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
noooooooo typo
This commit is contained in:
parent
8250ed166e
commit
1117887240
@ -36,7 +36,7 @@ def archiveFilter(info):
|
|||||||
# all other files are chmodded to 0644.
|
# all other files are chmodded to 0644.
|
||||||
# Somewhat hacky, but it's the only way
|
# Somewhat hacky, but it's the only way
|
||||||
# permissions can work on a Windows box.
|
# permissions can work on a Windows box.
|
||||||
if info.type != DIRTYPE and '.' in info.name.rsplit('/', 1)[-1]:
|
if info.type != tarfile.DIRTYPE and '.' in info.name.rsplit('/', 1)[-1]:
|
||||||
info.mode = 0644
|
info.mode = 0644
|
||||||
else:
|
else:
|
||||||
info.mode = 0755
|
info.mode = 0755
|
||||||
@ -51,7 +51,7 @@ class TarInfoRoot(tarfile.TarInfo):
|
|||||||
gid = property(lambda self: 0, lambda self, x: None)
|
gid = property(lambda self: 0, lambda self, x: None)
|
||||||
uname = property(lambda self: "root", lambda self, x: None)
|
uname = property(lambda self: "root", lambda self, x: None)
|
||||||
gname = property(lambda self: "root", lambda self, x: None)
|
gname = property(lambda self: "root", lambda self, x: None)
|
||||||
mode = property(lambda self: 0644 if self.type != DIRTYPE and \
|
mode = property(lambda self: 0644 if self.type != tarfile.DIRTYPE and \
|
||||||
'.' in self.name.rsplit('/', 1)[-1] else 0755,
|
'.' in self.name.rsplit('/', 1)[-1] else 0755,
|
||||||
lambda self, x: None)
|
lambda self, x: None)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user