Update travis, fix open ioc import

pull/130/head
Raphaël Vinot 2017-05-24 07:39:18 +02:00
parent a510098b10
commit c42c8a800e
2 changed files with 6 additions and 7 deletions

View File

@ -9,12 +9,12 @@ python:
- "3.4"
- "3.5"
- "3.5-dev"
- "3.6"
- "3.6-dev"
- "nightly"
install:
- pip install -U nose
- pip install coveralls
- pip install codecov
- pip install -U nose codecov pytest
- pip install -U -r REQUIREMENTS
- pip install .
@ -35,4 +35,3 @@ script:
after_success:
- coverage combine .coverage*
- codecov
- coveralls

View File

@ -68,9 +68,9 @@ def handler(q=False):
"categories": [attrib.category],
"comment":attrib.comment
}
# add tag
if q['config'].get('default tag') is not None:
toAppend["tags"] = q['config']['default tag'].split(",")
# add tag
if q.get('config') and q['config'].get('default tag') is not None:
toAppend["tags"] = q['config']['default tag'].split(",")
r["results"].append(toAppend)
return r