Thu, 17 Jan 2008 22:44:46 -0500
[svn] Make dtrx -v print *something*.
paulv wants it to act like tar -v. I'm not yet convinced this is a good
idea because it makes less sense with dtrx moving things around on you. It
could do an ls for you, of course, but... why? But it definitely is weird
to have it be silent.
scripts/dtrx | file | annotate | diff | comparison | revisions |
--- a/scripts/dtrx Thu Jan 17 22:36:07 2008 -0500 +++ b/scripts/dtrx Thu Jan 17 22:44:46 2008 -0500 @@ -968,6 +968,7 @@ self.current_directory, self.filenames = self.archives.popitem() os.chdir(self.current_directory) for filename in self.filenames: + logger.info("handling %s" % (filename,)) builder = ExtractorBuilder(filename, self.options) error = (self.check_file(filename) or self.try_extractors(filename, builder.get_extractor())) @@ -976,6 +977,7 @@ logger.error("%s: %s" % (filename, error)) self.failures.append(filename) else: + logger.info("finished handling %s" % (filename,)) self.successes.append(filename) self.options.one_entry_policy.permanent_policy = EXTRACT_WRAP if self.failures: