summaryrefslogtreecommitdiff
path: root/packages/utils.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-07-07 17:28:02 -0500
committerDan McGee <dan@archlinux.org>2012-07-08 21:08:04 -0500
commit26a00cadcebc0b37775954d261ec73f927ceca12 (patch)
tree8a1246c72e014a92d6b4b98055b37d770e970812 /packages/utils.py
parent4cd588ae898c2abc8035cf0165ccdd038f2321bd (diff)
Don't log package updates in Python when we have DB trigger support
This adds a helper method to find the database engine in use, and then skips code we shouldn't execute if we are doing this another way. Note that this helper method could be useful for backend-specific code paths elsewhere, such as custom SQL being called or lack of StdDev() in sqlite3 out of the box. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'packages/utils.py')
0 files changed, 0 insertions, 0 deletions