Skip to content

Commit c81a9c8

Browse files
committed
XXX Hacky half fix for whited out installer tab
See # 467 for a description of the issue.
1 parent dbaf636 commit c81a9c8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Mopy/bash/bosh/bain.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1381,8 +1381,9 @@ def _refresh_from_project_dir(self, progress=None,
13811381
max_mtime = max_mtime if max_mtime >= get_mtime else get_mtime
13821382
rsDir = asDir[relPos:]
13831383
for sFile in sFiles:
1384-
rpFile = os.path.join(rsDir, sFile)
13851384
asFile = os.path.join(asDir, sFile)
1385+
if len(asFile) > 255: continue # FIXME(inf) hacky workaround
1386+
rpFile = os.path.join(rsDir, sFile)
13861387
# below calls may now raise even if "werr.winerror = 123"
13871388
lstat = os.lstat(asFile)
13881389
size, date = lstat.st_size, int(lstat.st_mtime)

0 commit comments

Comments
 (0)