Subversion Repositories programming

Rev

Rev 179 | Rev 275 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 179 Rev 220
Line 399... Line 399...
399
        self.extracted = False
399
        self.extracted = False
400
 
400
 
401
    def print_debug_info(self):
401
    def print_debug_info(self):
402
        """Special function for debugging"""
402
        """Special function for debugging"""
403
        print '========== DEBUG INFO STARTS HERE =========='
403
        print '========== DEBUG INFO STARTS HERE =========='
-
 
404
        print '=== parfile ==='
404
        print 'parfile: %s' % (self.parfile, )
405
        print self.parfile
-
 
406
        print
-
 
407
 
-
 
408
        print '=== extra_pars ==='
405
        print 'extra_pars: %s' % (self.extra_pars, )
409
        for f in self.extra_pars:
-
 
410
            print f
-
 
411
            
-
 
412
        print
-
 
413
 
-
 
414
        print '=== files ==='
406
        print 'files: %s' % (self.files, )
415
        for f in self.files:
-
 
416
            print f
-
 
417
 
407
        print '========== DEBUG INFO ENDS HERE =========='
418
        print '=========== DEBUG INFO ENDS HERE ==========='
408
 
419
 
409
    def get_filenames(self):
420
    def get_filenames(self):
410
        return get_par2_filenames(self.parfile)
421
        return get_par2_filenames(self.parfile)
411
 
422
 
412
    def all_there(self):
423
    def all_there(self):
Line 638... Line 649...
638
    parsets = get_parsets()
649
    parsets = get_parsets()
639
 
650
 
640
    # Print debug info if we're supposed to
651
    # Print debug info if we're supposed to
641
    if options.debug_info:
652
    if options.debug_info:
642
        for p in parsets:
653
        for p in parsets:
643
            p.debug()
654
            p.print_debug_info()
644
 
655
 
645
    # No debug info
656
    # No debug info
646
    else:
657
    else:
647
 
658
 
648
        # Verify each parset
659
        # Verify each parset