提交 e16e766d 编写于 作者: Y Yiru Wang Mac

change Constant to constant

上级 66911470
......@@ -63,7 +63,7 @@ log_name=log_info.log
[UWSGI]
daemonize=/var/run/pkgship/uwsgi.log
daemonize=/var/log/uwsgi.log
buffer-size=65536
......@@ -18,8 +18,8 @@ except ImportError as import_error:
print('Error importing related dependencies, \
please check if related dependencies are installed')
else:
from packageship.application.apps.package.function.Constants import ResponseCode
from packageship.application.apps.package.function.Constants import ListNode
from packageship.application.apps.package.function.constants import ResponseCode
from packageship.application.apps.package.function.constants import ListNode
DB_NAME = 0
......
......@@ -30,8 +30,8 @@ Pkgship implements rpm package dependence ,maintainer, patch query and so no.
%post
#build cli bin
if [ -f "/usr/bin/cli" ];then
rm -rf /usr/bin/cli
if [ -f "/usr/bin/pkgship" ];then
rm -rf /usr/bin/pkgship
fi
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册