Adding options for trust keys

I was having this error:

[2012-02-21 10:34:53,794: DEBUG/PoolWorker-1] gpg --status-fd 2 --no-tty --homedir "/home/diegueus9/webapps/comparamejor/gpg"  --version
[2012-02-21 10:34:53,812: DEBUG/PoolWorker-1] stderr reader: <Thread(Thread-13, initial daemon)>
[2012-02-21 10:34:53,812: DEBUG/PoolWorker-1] stdout reader: <Thread(Thread-14, initial daemon)>
[2012-02-21 10:34:53,896: DEBUG/PoolWorker-1] gpg: WARNING: unsafe permissions on homedir `/home/diegueus9/webapps/comparamejor/gpg'
[2012-02-21 10:34:53,897: DEBUG/PoolWorker-1] chunk: 'gpg (GnuPG) 1.4.11\nCopyright (C) 2010 Free Software Foundation, Inc.\nLicense GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permit'                               
[2012-02-21 10:34:53,916: DEBUG/PoolWorker-1] gpg --status-fd 2 --no-tty --homedir "/home/diegueus9/webapps/comparamejor/gpg"  --encrypt --recipient "diego@comparamejor.com" --armor                                                                                                                                                                     
[2012-02-21 10:34:53,920: DEBUG/PoolWorker-1] data copier: <Thread(Thread-15, initial daemon)>, <_io.BytesIO object at 0x99374dc>, <open file '<fdopen>', mode 'wb' at 0x96aba70>                                                                                                                                                                         
[2012-02-21 10:34:53,920: DEBUG/PoolWorker-1] sending chunk (40): 'SOAT: Nuevo prospecto con codigo DMH-2-7'
[2012-02-21 10:34:53,921: DEBUG/PoolWorker-1] stderr reader: <Thread(Thread-16, initial daemon)>
[2012-02-21 10:34:53,921: DEBUG/PoolWorker-1] closed output, 40 bytes sent
[2012-02-21 10:34:53,921: DEBUG/PoolWorker-1] stdout reader: <Thread(Thread-17, initial daemon)>
[2012-02-21 10:34:53,936: DEBUG/PoolWorker-1] gpg: WARNING: unsafe permissions on homedir `/home/diegueus9/webapps/comparamejor/gpg'
[2012-02-21 10:34:53,937: DEBUG/PoolWorker-1] gpg: E31904D0: There is no assurance this key belongs to the named user
[2012-02-21 10:34:53,937: DEBUG/PoolWorker-1] gpg: Sorry, no terminal at all requested - can't get input
[2012-02-21 10:34:53,937: DEBUG/PoolWorker-1] encrypt result: ''
[2012-02-21 10:34:53,938: DEBUG/PoolWorker-1] gpg --status-fd 2 --no-tty --homedir "/home/diegueus9/webapps/comparamejor/gpg"  --encrypt --recipient "diego@comparamejor.com" --armor                                                                                                                                                                     
[2012-02-21 10:34:53,942: DEBUG/PoolWorker-1] data copier: <Thread(Thread-18, initial daemon)>, <_io.BytesIO object at 0x99374dc>, <open file '<fdopen>', mode 'wb' at 0x96aba70>                                                                                                                                                                         
[2012-02-21 10:34:53,942: DEBUG/PoolWorker-1] stderr reader: <Thread(Thread-19, initial daemon)>
[2012-02-21 10:34:53,942: DEBUG/PoolWorker-1] sending chunk (711): '\xef\xbb\xbf\n"Lead ID";"Creado";"Nombres";"Apellidos";"Correo electr\xc3\xb3nico";"Fecha de nacimiento";"Tel\xc3\xa9fono";"Tipo de Veh\xc3\xadculo";"Subtip de Veh\xc3\xadculo";"Cilindraje";"Marca del veh\xc3\xadculo";"l\xc3\xadnea";"Modelo del veh\xc3\xadculo";"Costo de la poliza";"N\xc3\xbamero de chasis";"N\xc3\xbam'                                                                                                                                  
[2012-02-21 10:34:53,943: DEBUG/PoolWorker-1] stdout reader: <Thread(Thread-20, initial daemon)>
[2012-02-21 10:34:53,943: DEBUG/PoolWorker-1] closed output, 711 bytes sent
[2012-02-21 10:34:53,945: DEBUG/PoolWorker-1] gpg: WARNING: unsafe permissions on homedir `/home/diegueus9/webapps/comparamejor/gpg'
[2012-02-21 10:34:53,945: DEBUG/PoolWorker-1] gpg: E31904D0: There is no assurance this key belongs to the named user
[2012-02-21 10:34:53,945: DEBUG/PoolWorker-1] gpg: Sorry, no terminal at all requested - can't get input
[2012-02-21 10:34:53,945: DEBUG/PoolWorker-1] encrypt result: ''

So, I studied a little the code and add the option ALWAYS_TRUST for fix the bug