Fix bug in encoding stdout
Propagate attribute access to original sys.stdout. Also fix corner case wheresys.stdout does not have encoding attribute.
Fix typo
Avoid the use of sys__stdout__
Fix UnicodeError when writing to sys.stdout
Due to a bug the was fixed in Python-2.7, in Python-2.6 unicode stringsthat are written to sys.stdout (using sys.stdout.write) are notconverted to bytestrings using the file.encoding. Insteadsys.stdout.encoding is set to None, and the default encoding is used. We...
Minor changes
Cleanse sensitive settings in debug output
In case of server errors prevent django from printing or emailing sensitivesettings.
Move LOGGING_SETUP from common to webproject
Various fixes about logging
Fix logging from snf-manage commands. Modify snf-manage implementationin order to setup the loggers for all snf-manage commands. Configurationis based on SNF_MANAGE_LOGGING_SETUP setting from snf-common or onbasicConfig if that setting is missing....
Move pooling psycopg2 wrapper to synnefo.lib.db
Move pooling psycopg2 wrapper to synnefo.lib.db,please see commit e83ed1fb8fb4d0d19c2d3f86152fde60b3cadfd9 for all thedetails on how to use the pooling wrapper for psycopg2.
Add pooling synnefo.db.pooled_psycopg2 DBAPI drv
Add DBAPI driver synnefo.db.pooled_psycopg2, which is athin, pooling wrapper around psycopg2.
To use, first monkey-patch psycopg2:
from synnefo.db.pooled_psycopg2 import monkey_patch_psycopg2monkey_patch_psycopg2()...
View revisions
Also available in: Atom