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
Titouan Soulard
slapos.core
Commits
0ddcfc4a
Commit
0ddcfc4a
authored
Nov 19, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Drop not needed logging.
parent
101560d8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
master/bt5/slapos_accounting/SkinTemplateItem/portal_skins/slapos_simulation/SimulationMovement_testTradeModelSimulationRule.xml
...ation/SimulationMovement_testTradeModelSimulationRule.xml
+0
-3
master/bt5/slapos_accounting/bt/revision
master/bt5/slapos_accounting/bt/revision
+1
-1
No files found.
master/bt5/slapos_accounting/SkinTemplateItem/portal_skins/slapos_simulation/SimulationMovement_testTradeModelSimulationRule.xml
View file @
0ddcfc4a
...
@@ -52,9 +52,7 @@
...
@@ -52,9 +52,7 @@
<key>
<string>
_body
</string>
</key>
<key>
<string>
_body
</string>
</key>
<value>
<string>
movement = context\n
<value>
<string>
movement = context\n
\n
\n
script.log(\'on %s\' % movement.getPath())\n
if not movement.SimulationMovement_testCommonRule(rule):\n
if not movement.SimulationMovement_testCommonRule(rule):\n
script.log(\'on %s does not apply\' % movement.getPath())\n
return False\n
return False\n
\n
\n
parent = movement.getParentValue()\n
parent = movement.getParentValue()\n
...
@@ -62,7 +60,6 @@ if parent.getPortalType() != \'Applied Rule\':\n
...
@@ -62,7 +60,6 @@ if parent.getPortalType() != \'Applied Rule\':\n
return False\n
return False\n
\n
\n
parent_rule = parent.getSpecialiseValue()\n
parent_rule = parent.getSpecialiseValue()\n
script.log(\'on %s %s\' % (movement.getPath(), parent_rule.getPortalType()))\n
if parent_rule.getPortalType() not in (\'Invoice Root Simulation Rule\',\n
if parent_rule.getPortalType() not in (\'Invoice Root Simulation Rule\',\n
\'Invoice Simulation Rule\'):\n
\'Invoice Simulation Rule\'):\n
return False\n
return False\n
...
...
master/bt5/slapos_accounting/bt/revision
View file @
0ddcfc4a
77
78
\ No newline at end of file
\ No newline at end of file
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