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
3ba00087
Commit
3ba00087
authored
Dec 23, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify.
parent
8605c74c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
master/bt5/vifib_data_simulation/SkinTemplateItem/portal_skins/vifib_simulation/VifibDeliveryBuilder_selectMovement.xml
.../vifib_simulation/VifibDeliveryBuilder_selectMovement.xml
+3
-3
master/bt5/vifib_data_simulation/bt/revision
master/bt5/vifib_data_simulation/bt/revision
+1
-1
No files found.
master/bt5/vifib_data_simulation/SkinTemplateItem/portal_skins/vifib_simulation/VifibDeliveryBuilder_selectMovement.xml
View file @
3ba00087
...
@@ -329,12 +329,12 @@ from DateTime import DateTime\n
...
@@ -329,12 +329,12 @@ from DateTime import DateTime\n
build_before = kw.pop(\'build_before\', None)\n
build_before = kw.pop(\'build_before\', None)\n
if build_before is None:\n
if build_before is None:\n
build_before = getClosestDate(target_date=DateTime(), precision=\'month\', before=0)\n
build_before = getClosestDate(target_date=DateTime(), precision=\'month\', before=0)\n
\n
kw[\'movement.start_date\'] = \'< %s\' % build_before\n
kw[\'movement.start_date\'] = \'< %s\' % build_before\n
\n
\n
script.log(context.portal_catalog(src__=1, **kw))\n
if src__==0:\n
if src__==0:\n
movement_list =
context.portal_catalog(**kw)\n
return
context.portal_catalog(**kw)\n
return movement_list
\n
\n
else:\n
else:\n
return context.portal_catalog(src__=1, **kw)\n
return context.portal_catalog(src__=1, **kw)\n
...
...
master/bt5/vifib_data_simulation/bt/revision
View file @
3ba00087
60
61
\ 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