Lines 3297-3308
def chk_updated_info_files(root, infodir
Link Here
|
3297 |
for inforoot in regen_infodirs: |
3297 |
for inforoot in regen_infodirs: |
3298 |
if inforoot=='': |
3298 |
if inforoot=='': |
3299 |
continue |
3299 |
continue |
3300 |
try: |
3300 |
for suffix in ("", ".gz"): |
3301 |
os.rename(inforoot+"/dir",inforoot+"/dir.old") |
3301 |
try: |
3302 |
except SystemExit, e: |
3302 |
os.rename("%s/dir%s" % (infodir, suffix), |
3303 |
raise # Needed else can't exit |
3303 |
"%s/dir%s.old" % (infodir, suffix)) |
3304 |
except: |
3304 |
except SystemExit, e: |
3305 |
pass |
3305 |
raise # Needed else can't exit |
|
|
3306 |
except: |
3307 |
pass |
3306 |
|
3308 |
|
3307 |
if not os.path.isdir(inforoot): |
3309 |
if not os.path.isdir(inforoot): |
3308 |
continue |
3310 |
continue |