fix py2.7 unicode encoding error

This commit is contained in:
pycook 2019-11-08 15:15:31 +08:00
parent cb8ef65e79
commit dc18e3b82f
1 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,7 @@
# -*- coding:utf-8 -*-
from __future__ import unicode_literals
QUERY_CIS_BY_VALUE_TABLE = """
SELECT attr.name AS attr_name,
@ -61,3 +63,4 @@ QUERY_CI_BY_TYPE = """
FROM c_cis
WHERE c_cis.type_id in ({0})
"""