[svn] Really small cleanliness bit. trunk

Sun, 29 Apr 2007 15:30:01 -0400

author
brett
date
Sun, 29 Apr 2007 15:30:01 -0400
branch
trunk
changeset 27
5711a4714e47
parent 26
d660410455d9
child 28
4d88f2231d33

[svn] Really small cleanliness bit.

scripts/dtrx file | annotate | diff | comparison | revisions
--- a/scripts/dtrx	Sun Apr 29 15:25:04 2007 -0400
+++ b/scripts/dtrx	Sun Apr 29 15:30:01 2007 -0400
@@ -655,12 +655,7 @@
             self.failures.append(self.current_filename)
 
     def extract(self):
-        first_run = True
         while self.archives:
-            if not first_run:
-                self.options.one_entry_policy.permanent_policy = EXTRACT_WRAP
-            else:
-                first_run = False
             self.current_directory, filenames = self.archives.popitem()
             for filename in filenames:
                 os.chdir(self.current_directory)
@@ -673,6 +668,7 @@
                                                        name)) and success)
                     self.recurse()
                 self.record_status(success)
+            self.options.one_entry_policy.permanent_policy = EXTRACT_WRAP
 
     def show_contents(self):
         for filename in self.current_extractor.get_filenames():

mercurial