Lines 107-117
def chk_updated_info_files(root, infodirs, prev_mtimes, retval):
Link Here
|
107 |
if z=='': |
107 |
if z=='': |
108 |
continue |
108 |
continue |
109 |
inforoot=normpath(root+z) |
109 |
inforoot=normpath(root+z) |
110 |
if os.path.isdir(inforoot): |
110 |
if os.path.isdir(inforoot) and \ |
111 |
infomtime = os.stat(inforoot)[stat.ST_MTIME] |
111 |
not [x for x in os.listdir(inforoot) \ |
112 |
if inforoot not in prev_mtimes or \ |
112 |
if x.startswith('.keepinfodir')]: |
113 |
prev_mtimes[inforoot] != infomtime: |
113 |
infomtime = os.stat(inforoot)[stat.ST_MTIME] |
114 |
regen_infodirs.append(inforoot) |
114 |
if inforoot not in prev_mtimes or \ |
|
|
115 |
prev_mtimes[inforoot] != infomtime: |
116 |
regen_infodirs.append(inforoot) |
115 |
|
117 |
|
116 |
if not regen_infodirs: |
118 |
if not regen_infodirs: |
117 |
portage.writemsg_stdout("\n") |
119 |
portage.writemsg_stdout("\n") |
118 |
- |
|
|