486: #line 540 "html_weaver.ipk" 487: def print_file_status(self,hlevel=2, *args, **kwds): 488: passno = self.pass_frame.passno 489: h = 'File Status for pass '+str(passno-1) 490: if hlevel>0: 491: self.head(hlevel,h) 492: if self.master.fdict: 493: skeys = self.master.fdict.keys() 494: skeys.sort() 495: 496: h = 'Unchanged Files' 497: if hlevel>0: 498: self.head(hlevel+1,h) 499: else: 500: self._writeline('<STRONG>'+h+'<STRONG><BR>') 501: for key in skeys: 502: status,change_passno = self.master.fdict[key] 503: if status == 'unchanged' and change_passno==0: 504: self._writeline(key+'<BR>') 505: 506: h = 'Changed Files' 507: if hlevel>0: 508: self.head(hlevel+1,h) 509: else: 510: self._writeline('<STRONG>'+h+'<STRONG><BR>') 511: for key in skeys: 512: status,change_passno = self.master.fdict[key] 513: if status == 'unchanged' and change_passno == 1: 514: self._writeline(key+'<BR>') 515: 516: h = 'Files which required 2 or more passes to converge' 517: if hlevel>0: 518: self.head(hlevel+1,h) 519: else: 520: self._writeline('<STRONG>'+h+'<STRONG><BR>') 521: for key in skeys: 522: status,change_passno = self.master.fdict[key] 523: if status == 'unchanged' and change_passno > 1: 524: self._writeline(key+' (converged in '+str(change_passno)+' passes)<BR>') 525: 526: h = 'Unstable Files' 527: if hlevel>0: 528: self.head(hlevel+1,h) 529: else: 530: self._writeline('<STRONG>'+h+'<STRONG><BR>') 531: for key in skeys: 532: status,change_passno = self.master.fdict[key] 533: if status == 'changed': 534: self._writeline(key+'<BR>') 535: 536: else: 537: self._writeline('<P>No data available in pass '+str(passno)+'.</P>') 538: