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
e12e82b8
Commit
e12e82b8
authored
Dec 05, 2012
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dead code
parent
0a817ea5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
master/product/Vifib/Tool/SlapTool.py
master/product/Vifib/Tool/SlapTool.py
+0
-11
No files found.
master/product/Vifib/Tool/SlapTool.py
View file @
e12e82b8
...
@@ -427,7 +427,6 @@ class SlapTool(BaseTool):
...
@@ -427,7 +427,6 @@ class SlapTool(BaseTool):
user
=
self
.
getPortalObject
().
portal_membership
.
getAuthenticatedMember
()
\
user
=
self
.
getPortalObject
().
portal_membership
.
getAuthenticatedMember
()
\
.
getUserName
()
.
getUserName
()
self
.
_logAccess
(
user
,
computer_id
,
'#error while installing %s'
%
url
)
self
.
_logAccess
(
user
,
computer_id
,
'#error while installing %s'
%
url
)
#return self._softwareReleaseError(url, computer_id, error_log)
security
.
declareProtected
(
Permissions
.
AccessContentsInformation
,
security
.
declareProtected
(
Permissions
.
AccessContentsInformation
,
'buildingComputerPartition'
)
'buildingComputerPartition'
)
...
@@ -860,16 +859,6 @@ class SlapTool(BaseTool):
...
@@ -860,16 +859,6 @@ class SlapTool(BaseTool):
'invalidate'
):
'invalidate'
):
software_installation
.
invalidate
(
comment
=
comment
)
software_installation
.
invalidate
(
comment
=
comment
)
@
convertToREST
def
_softwareReleaseError
(
self
,
url
,
computer_id
,
error_log
):
"""
Add an error for a software Release workflow
"""
computer_document
=
self
.
_getComputerDocument
(
computer_id
)
software_installation
=
self
.
_getSoftwareInstallationForComputer
(
url
,
computer_document
)
software_installation
.
reportError
()
@
convertToREST
@
convertToREST
def
_buildingComputerPartition
(
self
,
computer_id
,
computer_partition_id
):
def
_buildingComputerPartition
(
self
,
computer_id
,
computer_partition_id
):
"""
"""
...
...
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