Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
107
Merge Requests
107
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
a060bed1
Commit
a060bed1
authored
Jul 05, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixup
e86433b1
.
In
e86433b1
getComputerPartitionList shall not be called on function object.
parent
e86433b1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
slapos/slap/slap.py
slapos/slap/slap.py
+2
-2
No files found.
slapos/slap/slap.py
View file @
a060bed1
...
...
@@ -227,7 +227,7 @@ def _syncComputerInformation(func):
else
:
setattr
(
self
,
key
,
value
)
setattr
(
self
,
'_synced'
,
True
)
for
computer_partition
in
self
.
getComputerPartitionList
():
for
computer_partition
in
computer
.
getComputerPartitionList
():
setattr
(
computer_partition
,
'_synced'
,
True
)
return
func
(
self
,
*
args
,
**
kw
)
return
decorated
...
...
@@ -326,7 +326,7 @@ def _syncComputerPartitionInformation(func):
else
:
setattr
(
self
,
key
,
value
)
setattr
(
self
,
'_synced'
,
True
)
for
computer_partition
in
self
.
getComputerPartitionList
():
for
computer_partition
in
computer
.
getComputerPartitionList
():
setattr
(
computer_partition
,
'_synced'
,
True
)
return
func
(
self
,
*
args
,
**
kw
)
return
decorated
...
...
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