def remove(self, uid, filename=None):
        """Removes an address to the Abook addressbook
        uid -- UID of the entry to remove
        """
        book = ConfigParser(default_section='format')
        with self._lock:
            book.read(self._filename)
            del book[uid.split('@')[0]]
            with open(self._filename, 'w') as fp:
                book.write(fp, False)
def remove ( self , uid , filename = None ) : book = ConfigParser ( default_section = 'format' ) with self . _lock : book . read ( self . _filename ) del book [ uid . split ( '@' ) [ 0 ] ] with open ( self . _filename , 'w' ) as fp : book . write ( fp , False )
Removes an address to the Abook addressbook
        uid -- UID of the entry to remove