Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
installsystems
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Seblu
installsystems
Commits
9e30b8a4
Commit
9e30b8a4
authored
13 years ago
by
Seblu
Browse files
Options
Downloads
Patches
Plain Diff
Fix downloading of all payloads to compute md5 when it's not needed
parent
8273db6b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
installsystems/image.py
+2
-1
2 additions, 1 deletion
installsystems/image.py
with
2 additions
and
1 deletion
installsystems/image.py
+
2
−
1
View file @
9e30b8a4
...
...
@@ -453,7 +453,8 @@ class Payload(object):
setattr
(
self
,
attr
,
None
)
# set all named param
for
kwarg
in
kwargs
:
if
hasattr
(
self
,
kwarg
):
# do not use hasattr which user getattr and so call md5 checksum...
if
kwarg
in
self
.
legit_attr
:
setattr
(
self
,
kwarg
,
kwargs
[
kwarg
])
def
__getattr__
(
self
,
name
):
...
...
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