Fix some ci error.
This commit is contained in:
parent
e4416d4935
commit
2b3dca319a
|
@ -66,7 +66,7 @@ int32_t taosGetConfigObjSize(SConfigObj *obj) {
|
||||||
if (obj->dtype == CFG_DTYPE_STRING || obj->dtype == CFG_DTYPE_DIR || obj->dtype == CFG_DTYPE_LOCALE ||
|
if (obj->dtype == CFG_DTYPE_STRING || obj->dtype == CFG_DTYPE_DIR || obj->dtype == CFG_DTYPE_LOCALE ||
|
||||||
obj->dtype == CFG_DTYPE_CHARSET || obj->dtype == CFG_DTYPE_TIMEZONE) {
|
obj->dtype == CFG_DTYPE_CHARSET || obj->dtype == CFG_DTYPE_TIMEZONE) {
|
||||||
if (obj->str != NULL) {
|
if (obj->str != NULL) {
|
||||||
size += strlen(obj->str);
|
size += strlen(obj->str) + 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return size;
|
return size;
|
||||||
|
|
|
@ -15,7 +15,7 @@ import sys
|
||||||
import os
|
import os
|
||||||
import time
|
import time
|
||||||
import datetime
|
import datetime
|
||||||
from setuptools import logging as printf
|
from distutils.log import warn as printf
|
||||||
|
|
||||||
|
|
||||||
class TDLog:
|
class TDLog:
|
||||||
|
|
Loading…
Reference in New Issue