3:33:45 PM: Build ready to start
3:33:48 PM: Fetching cached dependencies
3:33:48 PM: Starting to download cache of 53.5MB
3:33:49 PM: Finished downloading cache in 521.502937ms
3:33:49 PM: Starting to extract cache
3:33:50 PM: Finished extracting cache in 1.647501032s
3:33:51 PM: Finished fetching cache in 2.284751664s
3:33:51 PM: Starting to prepare the repo for build
3:33:51 PM: Preparing Git Reference refs/heads/hugo-initio
3:33:53 PM: Error checking out submodules: error: Server does not request for unadvertised object 43ea09ddf565af64ccf248ba68447745e158cc3d
Fetched in submodule path 'themes/hugo-initio', but it did not contain 43ea09ddf565af64ccf248ba68447745e158cc3d. Direct fetching of that commit failed.
3:33:53 PM: Failing build: Failed to prepare repo
3:33:53 PM: failed during stage 'preparing repo': Error checking out submodules: error: Server does not allow request for unadvertised object 43ea09ddf565af64ccf248ba68447745e158cc3d
Fetched in submodule path 'themes/hugo-initio', but it did not contain 43ea09ddf565af64ccf248ba68447745e158cc3d. Direct fetching of that commit failed.
: exit status 1
3:33:53 PM: Finished processing build request in 5.867246119s
Ffor上面,我正在
将字符串格式参数指定为日志记录函数参数(logging-not-lazy)
当我运行pylint时。哪个部分是错误的?
答案 0 :(得分:3)
试试这个:
filename_format = prefix + startdate.strftime('%Y%m%d') + '_' + enddate.strftime('%Y%m%d')
LOGGER.info('Filename format: %s', filename_format)
或:
filename_format = prefix + startdate.strftime('%Y%m%d') + '_' + enddate.strftime('%Y%m%d')
LOGGER.info('Filename format: {0}'.format(filename_format))