def unregister_file(path, pkg=None, conn=None):
 if (conn is None):
  conn = init()
 conn.execute('DELETE FROM files WHERE path=?', (path,))

def unregister_file ( path , pkg = None , conn = None ) : if ( conn is None ) : conn = init ( ) conn . execute ( 'DELETE FROM files WHERE path=?' , ( path , ) )
unregister a file from the package database .