Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
package_control_channel
Project
Project
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Gaurav Kukreja
package_control_channel
Commits
b321a9d8
Commit
b321a9d8
authored
May 31, 2017
by
wbond
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix formatting of error messages
parent
1baf9fb2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ci.py
tests/ci.py
+2
-2
No files found.
tests/ci.py
View file @
b321a9d8
...
@@ -74,10 +74,10 @@ for line in files_changed.splitlines():
...
@@ -74,10 +74,10 @@ for line in files_changed.splitlines():
raise
ValueError
(
'git diff-tree output included a line without status and filename
\n\n
%
s'
%
files_changed
)
raise
ValueError
(
'git diff-tree output included a line without status and filename
\n\n
%
s'
%
files_changed
)
status
,
filename
=
parts
status
,
filename
=
parts
if
not
filename
.
endswith
(
'.json'
):
if
not
filename
.
endswith
(
'.json'
):
print
(
'Skipping
%
s since it is not a json file'
)
print
(
'Skipping
%
s since it is not a json file'
%
filename
)
continue
continue
if
not
re
.
match
(
r'repository/(\w|0-9)\.json$'
,
filename
)
and
filename
!=
'channel.json'
:
if
not
re
.
match
(
r'repository/(\w|0-9)\.json$'
,
filename
)
and
filename
!=
'channel.json'
:
print
(
'Skipping
%
s since is not a json file that specifies packages or repositories'
)
print
(
'Skipping
%
s since is not a json file that specifies packages or repositories'
%
filename
)
if
status
!=
'M'
:
if
status
!=
'M'
:
raise
ValueError
(
'Unsure how to test a change that adds or removes a file, aborting'
)
raise
ValueError
(
'Unsure how to test a change that adds or removes a file, aborting'
)
filenames
.
append
(
filename
)
filenames
.
append
(
filename
)
...
...
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