Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
slapos.core
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
Hide 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):
...
@@ -227,7 +227,7 @@ def _syncComputerInformation(func):
else
:
else
:
setattr
(
self
,
key
,
value
)
setattr
(
self
,
key
,
value
)
setattr
(
self
,
'_synced'
,
True
)
setattr
(
self
,
'_synced'
,
True
)
for
computer_partition
in
self
.
getComputerPartitionList
():
for
computer_partition
in
computer
.
getComputerPartitionList
():
setattr
(
computer_partition
,
'_synced'
,
True
)
setattr
(
computer_partition
,
'_synced'
,
True
)
return
func
(
self
,
*
args
,
**
kw
)
return
func
(
self
,
*
args
,
**
kw
)
return
decorated
return
decorated
...
@@ -326,7 +326,7 @@ def _syncComputerPartitionInformation(func):
...
@@ -326,7 +326,7 @@ def _syncComputerPartitionInformation(func):
else
:
else
:
setattr
(
self
,
key
,
value
)
setattr
(
self
,
key
,
value
)
setattr
(
self
,
'_synced'
,
True
)
setattr
(
self
,
'_synced'
,
True
)
for
computer_partition
in
self
.
getComputerPartitionList
():
for
computer_partition
in
computer
.
getComputerPartitionList
():
setattr
(
computer_partition
,
'_synced'
,
True
)
setattr
(
computer_partition
,
'_synced'
,
True
)
return
func
(
self
,
*
args
,
**
kw
)
return
func
(
self
,
*
args
,
**
kw
)
return
decorated
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