~teemu-ollakka/kewpie/causal-reads

« back to all changes in this revision

Viewing changes to lib/sys_mgmt/port_management.py

  • Committer: Patrick Crews
  • Date: 2012-02-06 18:37:56 UTC
  • Revision ID: gleebix@gmail.com-20120206183756-zz1stpfzagj7rolu
Fixes to kewpie.py and how it uses config files.  Minor tweaks to various internal libraries to increase robustness when handling errors.  Added debug output on server failure when detecting innodb version

Show diffs side-by-side

added added

removed removed

Lines of Context:
180
180
       """
181
181
      
182
182
       self.logging.debug("Freeing port %d" %(port))
183
 
       os.remove(self.get_file_name(port))
 
183
       try:
 
184
           os.remove(self.get_file_name(port))
 
185
       except OSError:
 
186
           pass
184
187
 
185
188
    def get_file_name(self, port):
186
189
        """ We generate a file name for the port """