scripts/dtrx

branch
trunk
changeset 70
48d2421a3178
parent 69
35a2f45cdd3b
child 71
b0290eeb3b7a
equal deleted inserted replaced
69:35a2f45cdd3b 70:48d2421a3178
684 archive_count = len(extractor.included_archives) 684 archive_count = len(extractor.included_archives)
685 if (self.permanent_policy is not None) or (archive_count == 0): 685 if (self.permanent_policy is not None) or (archive_count == 0):
686 self.current_policy = self.permanent_policy or RECURSE_NOT_NOW 686 self.current_policy = self.permanent_policy or RECURSE_NOT_NOW
687 return 687 return
688 question = (("%s contains %s other archive file(s), " + 688 question = (("%s contains %s other archive file(s), " +
689 "out of %s files total.") % 689 "out of %s file(s) total.") %
690 (current_filename, archive_count, extractor.file_count)) 690 (current_filename, archive_count, extractor.file_count))
691 question = textwrap.wrap(question) 691 question = textwrap.wrap(question)
692 if target == '.': 692 if target == '.':
693 target = '' 693 target = ''
694 included_root = extractor.included_root 694 included_root = extractor.included_root

mercurial