From 0869bcb2b96ec82eb91cfd2e756b37f054fe8dc0 Mon Sep 17 00:00:00 2001 From: Siegfried-Angel Gevatter Pujals Date: Tue, 8 Apr 2008 16:22:31 +0200 Subject: [PATCH] pbuilder-dist (rewrite): always save the last log. --- pbuilder-dist | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/pbuilder-dist b/pbuilder-dist index 9a80f6c..9790f87 100755 --- a/pbuilder-dist +++ b/pbuilder-dist @@ -31,10 +31,6 @@ class pbuilder_dist: # and 'non-free' for Debian. self.extra_components = True - # Wheter the log for the last operation should be saved in the - # base directory by default. If False, it will be saved in /tmp. - self.save_log = False - # File where the log of the last operation will be saved. self.logfile = None @@ -119,8 +115,6 @@ class pbuilder_dist: self.chroot_string = '%(target_distro)s-%(build_architecture)s' % self if not self.logfile: - self.logfile = '/etc/pbuilder-%(chroot_string)s.log' % self - else: self.logfile = '%(base)s/.%(chroot_string)s.log' % self def set_target_distro(self, distro): @@ -305,10 +299,6 @@ def main(): app.extra_components = False args.remove('mainonly') - if 'withlog' in sys.argv: - app.save_log = True - args.remove('withlog') - if len(args) < 1: print 'Insufficient number of arguments.' help(1)