mailRe: r7968 - /1.3/relax


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by Sébastien Morin on October 24, 2008 - 18:04:
Thanks !

Should this bug fix be ported to the 1.2 line, where it is also present ?

If yes, how do we do it ?


Séb


Edward d'Auvergne wrote:
That killed the bug!

Cheers,

Edward


On Fri, Oct 24, 2008 at 5:55 PM,  <sebastien.morin.1@xxxxxxxxx> 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: 7f080ed10810240816o30acc1ddlbaa131bc5a9ea1ff@xxxxxxxxxxxxxx)


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
relax-commits@xxxxxxx

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
relax-devel@xxxxxxx

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

  




Related Messages


Powered by MHonArc, Updated Fri Oct 24 18:20:59 2008