mailr8715 - in /branches/ave_noe: ./ relax_errors.py


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

Header


Content

Posted by edward on February 02, 2009 - 10:59:
Author: bugman
Date: Mon Feb  2 10:59:06 2009
New Revision: 8715

URL: http://svn.gna.org/viewcvs/relax?rev=8715&view=rev
Log:
Merged revisions 8714 via svnmerge from 
svn+ssh://bugman@xxxxxxxxxxx/svn/relax/1.3

........
  r8714 | bugman | 2009-02-02 10:58:41 +0100 (Mon, 02 Feb 2009) | 3 lines
  
  Added some printouts stating which file the relax saved state is placed in 
when in Debug mode.
........

Modified:
    branches/ave_noe/   (props changed)
    branches/ave_noe/relax_errors.py

Propchange: branches/ave_noe/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Mon Feb  2 10:59:06 2009
@@ -1,1 +1,1 @@
-/1.3:1-8683
+/1.3:1-8714

Modified: branches/ave_noe/relax_errors.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/ave_noe/relax_errors.py?rev=8715&r1=8714&r2=8715&view=diff
==============================================================================
--- branches/ave_noe/relax_errors.py (original)
+++ branches/ave_noe/relax_errors.py Mon Feb  2 10:59:06 2009
@@ -32,6 +32,7 @@
     bz2 = False
 from cPickle import dump
 from re import match
+from sys import stderr
 import time
 from types import ClassType
 
@@ -56,8 +57,10 @@
 
     # Open the file for writing.
     if bz2:
+        stderr.write("\n\nStoring the relax state in the file 
'%s.bz2'.\n\n\n" % file_name)
         file = BZ2File(file_name+'.bz2', 'w')
     else:
+        stderr.write("\n\nStoring the relax state in the file '%s'.\n\n\n" % 
file_name)
         file = open(file_name, 'w')
 
     # Pickle the data class and write it to file




Related Messages


Powered by MHonArc, Updated Mon Feb 02 11:20:02 2009