mailr14008 - in /1.3: relax.py status.py


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

Header


Content

Posted by edward on July 29, 2011 - 18:36:
Author: bugman
Date: Fri Jul 29 18:36:30 2011
New Revision: 14008

URL: http://svn.gna.org/viewcvs/relax?rev=14008&view=rev
Log:
Shifted the pedantic flag into the status object.


Modified:
    1.3/relax.py
    1.3/status.py

Modified: 1.3/relax.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/relax.py?rev=14008&r1=14007&r2=14008&view=diff
==============================================================================
--- 1.3/relax.py (original)
+++ 1.3/relax.py Fri Jul 29 18:36:30 2011
@@ -121,7 +121,7 @@
             mode = cmd_mode
 
         # Set up the warning system.
-        relax_warnings.setup(self.pedantic)
+        relax_warnings.setup()
 
         # Show the version number and exit.
         if mode == 'version':
@@ -226,9 +226,8 @@
             status.debug = True
 
         # Pedantic flag.
-        self.pedantic = False
         if options.pedantic:
-            self.pedantic = True
+            status.pedantic = True
 
         # Logging.
         if options.log:

Modified: 1.3/status.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/status.py?rev=14008&r1=14007&r2=14008&view=diff
==============================================================================
--- 1.3/status.py (original)
+++ 1.3/status.py Fri Jul 29 18:36:30 2011
@@ -1,6 +1,6 @@
 
###############################################################################
 #                                                                            
 #
-# Copyright (C) 2010 Edward d'Auvergne                                       
 #
+# Copyright (C) 2010-2011 Edward d'Auvergne                                  
 #
 #                                                                            
 #
 # This file is part of the program relax.                                    
 #
 #                                                                            
 #
@@ -45,6 +45,7 @@
 
             # Initialise some variables.
             self._instance.debug = False
+            self._instance.pedantic = False
             self._instance.install_path = sys.path[0]
 
             # Set up the singleton.




Related Messages


Powered by MHonArc, Updated Fri Jul 29 18:40:02 2011