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
Nov 18, 2016
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
Hide 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):
...
@@ -33,7 +33,7 @@ class Resource(object):
try
:
try
:
schema
(
attributes
)
schema
(
attributes
)
except
MultipleInvalid
as
invalid
:
except
MultipleInvalid
as
invalid
:
raise
InvalidResourceException
(
invalid
.
message
)
raise
InvalidResourceException
(
str
(
invalid
)
)
@classmethod
@classmethod
def
__schema
(
cls
,
resource_type
=
None
,
extend
=
False
):
def
__schema
(
cls
,
resource_type
=
None
,
extend
=
False
):
...
...
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