python/skytools update
authorMarko Kreen <markokr@gmail.com>
Fri, 13 Feb 2009 10:03:53 +0000 (12:03 +0200)
committerMarko Kreen <markokr@gmail.com>
Fri, 13 Feb 2009 12:21:01 +0000 (14:21 +0200)
commit5521e5fc2f399a923fa7fb313bbe797cfa0d5baa
tree7df01ec195273b812bc9b64953a71ad1155d9438
parent012aee6a0369d8a4b2617046a27659c02b0bb478
python/skytools update

- docstrings
- some preliminary python 3.0 compat (var names, print())
- sync with 2.1-stable

adminscript:
- move exec_cmd function to dbscript

dbstruct:
- support sequnces.  SERIAL columns are not automatically created,
  but the link beteween column and sequence is.

psycopgwrapper:
- drop support for psycopg1
- beginnings of quick DB-API / DictRow description.

quoting:
- new unquote_fqident() function, reverse of quote_fqident()
- quote_statement() accepts both row and dict

dbscript:
- catch startup errors
- use log.exception for exceptions, will result in nicer logs

sqltools:
- exists_sequence()

_pyquoting:
- fix typo in variable name
python/skytools/__init__.py
python/skytools/_pyquoting.py
python/skytools/adminscript.py
python/skytools/config.py
python/skytools/dbstruct.py
python/skytools/installer_config.py.in
python/skytools/parsing.py
python/skytools/psycopgwrapper.py
python/skytools/quoting.py
python/skytools/scripting.py
python/skytools/sqltools.py