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
Klaus Wölfel
slapos.core
Commits
22ab0792
Commit
22ab0792
authored
Oct 09, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid calling needless workflow transition.
parent
a9c73ef8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
master/product/Vifib/Tool/SlapTool.py
master/product/Vifib/Tool/SlapTool.py
+2
-2
No files found.
master/product/Vifib/Tool/SlapTool.py
View file @
22ab0792
...
@@ -369,7 +369,7 @@ class SlapTool(BaseTool):
...
@@ -369,7 +369,7 @@ 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
)
#
return self._softwareReleaseError(url, computer_id, error_log)
security
.
declareProtected
(
Permissions
.
AccessContentsInformation
,
security
.
declareProtected
(
Permissions
.
AccessContentsInformation
,
'buildingComputerPartition'
)
'buildingComputerPartition'
)
...
@@ -856,7 +856,7 @@ class SlapTool(BaseTool):
...
@@ -856,7 +856,7 @@ class SlapTool(BaseTool):
.
getUserName
()
.
getUserName
()
self
.
_logAccess
(
user
,
instance
.
getReference
(),
self
.
_logAccess
(
user
,
instance
.
getReference
(),
'#error while instanciating'
)
'#error while instanciating'
)
return
instance
.
reportComputerPartitionError
()
#
return instance.reportComputerPartitionError()
@
convertToREST
@
convertToREST
def
_softwareInstanceRename
(
self
,
new_name
,
computer_id
,
def
_softwareInstanceRename
(
self
,
new_name
,
computer_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