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
67cf8ecb
Commit
67cf8ecb
authored
Feb 07, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix raise call argument.
parent
8b56557e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
master/bt5/vifib_payzen/WorkflowTemplateItem/portal_workflow/payzen_interface_workflow/scripts/PayzenEvent_registerPayzen.xml
...interface_workflow/scripts/PayzenEvent_registerPayzen.xml
+2
-2
master/bt5/vifib_payzen/bt/revision
master/bt5/vifib_payzen/bt/revision
+1
-1
No files found.
master/bt5/vifib_payzen/WorkflowTemplateItem/portal_workflow/payzen_interface_workflow/scripts/PayzenEvent_registerPayzen.xml
View file @
67cf8ecb
...
@@ -78,7 +78,7 @@ possible_previous_id = integration_site.getMappingFromCategory(\'causality/%s\'
...
@@ -78,7 +78,7 @@ possible_previous_id = integration_site.getMappingFromCategory(\'causality/%s\'
if possible_previous_id != \'Causality/%s\' % transaction.getRelativeUrl():\n
if possible_previous_id != \'Causality/%s\' % transaction.getRelativeUrl():\n
previous_id = possible_previous_id.split(\'/\')[1]\n
previous_id = possible_previous_id.split(\'/\')[1]\n
\n
\n
if previous_id is None:
\n
if previous_id is None:\n
raise ValueError(\'Transaction %s had not defined payzen integration\' % previous_transaction.getRelativeUrl())\n
raise ValueError(\'Transaction %s had not defined payzen integration\' % previous_transaction.getRelativeUrl())\n
\n
\n
previous_date, previous_id = previous_id.split(\'_\')\n
previous_date, previous_id = previous_id.split(\'_\')\n
...
@@ -98,7 +98,7 @@ except ValueError:\n
...
@@ -98,7 +98,7 @@ except ValueError:\n
mapping = integration_site.Causality[mapping_id]\n
mapping = integration_site.Causality[mapping_id]\n
mapping.setDestinationReference(\'causality/%s\' % transaction.getRelativeUrl())\n
mapping.setDestinationReference(\'causality/%s\' % transaction.getRelativeUrl())\n
else:\n
else:\n
raise ValueError(
comment=\'Key %s already found!
\' % mapping_id)\n
raise ValueError(
\'Key %s already found.
\' % mapping_id)\n
\n
\n
# do causality mapping in integration_site between transaction.getRelativeUrl and today + transaction_id\n
# do causality mapping in integration_site between transaction.getRelativeUrl and today + transaction_id\n
payzen_dict = {}\n
payzen_dict = {}\n
...
...
master/bt5/vifib_payzen/bt/revision
View file @
67cf8ecb
49
50
\ 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