mirror of
https://github.com/apache/cloudstack
synced 2026-08-31 01:05:57 +00:00
squelch mysqldb spurious warnings
This commit is contained in:
parent
1ce6b5baa2
commit
ef219ae69a
@ -11,6 +11,10 @@ from optparse import OptionParser
|
||||
import commands
|
||||
import MySQLdb
|
||||
|
||||
# squelch mysqldb spurious warnings
|
||||
import warnings
|
||||
warnings.simplefilter('ignore')
|
||||
|
||||
# ---- This snippet of code adds the sources path and the waf configured PYTHONDIR to the Python path ----
|
||||
# ---- We do this so cloud_utils can be looked up in the following order:
|
||||
# ---- 1) Sources directory
|
||||
|
||||
Loading…
Reference in New Issue
Block a user