Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
ops
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhangwei
ops
Commits
6cbf6f8f
Commit
6cbf6f8f
authored
Mar 10, 2017
by
zhangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
输出增加颜色
parent
fbc504bc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
checklist.py
checklist/checklist.py
+3
-3
No files found.
checklist/checklist.py
View file @
6cbf6f8f
...
@@ -23,7 +23,7 @@ if __name__ == '__main__':
...
@@ -23,7 +23,7 @@ if __name__ == '__main__':
Usage
()
Usage
()
#参数由逗号分隔
#参数由逗号分隔
appListName
=
sys
.
argv
[
1
]
.
split
(
","
)
appListName
=
sys
.
argv
[
1
]
.
split
(
","
)
print
(
"
ALL is checking up......
"
)
print
(
"
\033
[1;33;40mALL is checking up......
\033
[0m
"
)
for
appname
in
appListName
:
for
appname
in
appListName
:
if
appname
in
APP_LIST
:
if
appname
in
APP_LIST
:
echo
(
appname
,
"is checking......"
,
True
)
echo
(
appname
,
"is checking......"
,
True
)
...
@@ -39,4 +39,4 @@ if __name__ == '__main__':
...
@@ -39,4 +39,4 @@ if __name__ == '__main__':
else
:
else
:
echo
(
log
,
"cannt be writen!"
,
False
,
1
)
echo
(
log
,
"cannt be writen!"
,
False
,
1
)
echo
(
log
,
"had been checked!"
,
True
)
echo
(
log
,
"had been checked!"
,
True
)
print
(
"ALL is done to check up"
)
print
(
"
\033
[1;33;40mALL is done to check up
\033
[0m"
)
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment