(self)
return True
Save spec file
Save spec file
Save spec file
def _save_spec(self):
        """Save spec file"""
        outfile = None
        try:
            outfile = open(self._container_specfile, 'w')
            json.dump(self._container_specjson, outfile)
        except (IOError, OSError, AttributeError, ValueError, TypeError):
            if outfile:
                outfile.close()
            return False
        outfile.close()
        return True
def _save_spec ( self ) : outfile = None try : outfile = open ( self . _container_specfile , 'w' ) json . dump ( self . _container_specjson , outfile ) except ( IOError , OSError , AttributeError , ValueError , TypeError ) : if outfile : outfile . close ( ) return False outfile . close ( ) return True