/[ascend]/trunk/pygtk/interface/preferences.py
ViewVC logotype

Diff of /trunk/pygtk/interface/preferences.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 455 by johnpye, Wed Apr 5 07:50:22 2006 UTC revision 479 by johnpye, Mon Apr 17 08:49:14 2006 UTC
# Line 17  class Preferences: Line 17  class Preferences:
17              else:              else:
18                  self.fname = os.path.expanduser("~/.ascend.ini");                  self.fname = os.path.expanduser("~/.ascend.ini");
19    
20              print "PREFERENCES FILE:",self.fname              #print "PREFERENCES FILE =",self.fname
21                                    
22          self.n = self.n + 1;          self.n = self.n + 1;
23    
24          if not hasattr(self,'ini'):          if not hasattr(self,'ini'):
25              print "CREATING CONFIG"              #print "CREATING CONFIG"
26              self.ini = ConfigParser.SafeConfigParser();              self.ini = ConfigParser.SafeConfigParser();
27              self.ini.read( [ self.fname ] );              self.ini.read( [ self.fname ] );
28    

Legend:
Removed from v.455  
changed lines
  Added in v.479

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22