That killed the bug! Cheers,
Edward On Fri, Oct 24, 2008 at 5:55 PM, <[EMAIL PROTECTED]> wrote: > Author: semor > Date: Fri Oct 24 17:55:21 2008 > New Revision: 7968 > > URL: http://svn.gna.org/viewcvs/relax?rev=7968&view=rev > Log: > Still improved the detection of existing files not to be overwritten when > logging or teeing. > > This follows a post by Edward at: > https://mail.gna.org/public/relax-devel/2008-10/msg00091.html > (Message ID: [EMAIL PROTECTED]) > > > Modified: > 1.3/relax > > Modified: 1.3/relax > URL: > http://svn.gna.org/viewcvs/relax/1.3/relax?rev=7968&r1=7967&r2=7968&view=diff > ============================================================================== > --- 1.3/relax (original) > +++ 1.3/relax Fri Oct 24 17:55:21 2008 > @@ -205,7 +205,7 @@ > > # Fail if the file already exists. > if access(log_file, F_OK): > - raise relax_errors.RelaxFileOverwriteError, (log_file, > 'force_flag') > + parser.error("the log file " + `log_file` + " already > exists") > else: > log_file = None > > @@ -220,7 +220,7 @@ > > # Fail if the file already exists. > if access(tee_file, F_OK): > - raise relax_errors.RelaxFileOverwriteError, (tee_file, > 'force_flag') > + parser.error("the tee file " + `tee_file` + " already > exists") > else: > tee_file = None > > > > _______________________________________________ > relax (http://nmr-relax.com) > > This is the relax-commits mailing list > [EMAIL PROTECTED] > > To unsubscribe from this list, get a password > reminder, or change your subscription options, > visit the list information page at > https://mail.gna.org/listinfo/relax-commits > _______________________________________________ relax (http://nmr-relax.com) This is the relax-devel mailing list [email protected] To unsubscribe from this list, get a password reminder, or change your subscription options, visit the list information page at https://mail.gna.org/listinfo/relax-devel

