Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
buildstream
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
6
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
BuildStream
buildstream
Commits
432ddffd
Commit
432ddffd
authored
7 years ago
by
James Ennis
Browse files
Options
Downloads
Patches
Plain Diff
pylint - dealt with unnecessary-pass warning
parent
9b4f54e1
No related branches found
No related tags found
1 merge request
!283
Resolve "Use pylint for linting"
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.pylintrc
+0
-1
0 additions, 1 deletion
.pylintrc
buildstream/utils.py
+1
-1
1 addition, 1 deletion
buildstream/utils.py
with
1 addition
and
2 deletions
.pylintrc
+
0
−
1
View file @
432ddffd
...
...
@@ -114,7 +114,6 @@ disable=#####################################
logging-format-interpolation,
unnecessary-pass,
cyclic-import,
# These are hard to spot without linting, but easy to fix
...
...
This diff is collapsed.
Click to expand it.
buildstream/utils.py
+
1
−
1
View file @
432ddffd
...
...
@@ -255,7 +255,7 @@ def safe_copy(src, dest, *, result=None):
# over extended file attributes.
if
result
:
result
.
failed_attributes
.
append
(
dest
)
pass
except
shutil
.
Error
as
e
:
raise
UtilError
(
"
Failed to copy
'
{} -> {}
'
: {}
"
.
format
(
src
,
dest
,
e
))
from
e
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment