Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Simon János
/
orchestrator
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
cd57400f
authored
8 years ago
by
Simon János
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix python 3 compatibility by using str(exc) instead of exc.message
parent
9c6303cc
Pipeline
#285
passed with stage
in 32 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
orchestrator/model/resources.py
+1
-1
No files found.
orchestrator/model/resources.py
View file @
cd57400f
...
...
@@ -33,7 +33,7 @@ class Resource(object):
try
:
schema
(
attributes
)
except
MultipleInvalid
as
invalid
:
raise
InvalidResourceException
(
invalid
.
message
)
raise
InvalidResourceException
(
str
(
invalid
)
)
@classmethod
def
__schema
(
cls
,
resource_type
=
None
,
extend
=
False
):
...
...
This diff is collapsed.
Click to expand it.
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