Make Travis happy with cosmetic fixes

stix2.1
clenk 2017-06-01 16:47:56 -04:00
parent 9dbde93031
commit f321447ecc
2 changed files with 7 additions and 4 deletions

View File

@ -5,9 +5,12 @@ import copy
import datetime as dt
import json
from .exceptions import (AtLeastOnePropertyError, DependentPropertiesError, ExtraPropertiesError, ImmutableError,
InvalidObjRefError, InvalidValueError, MissingPropertiesError, MutuallyExclusivePropertiesError,
RevokeError, UnmodifiablePropertyError)
from .exceptions import (AtLeastOnePropertyError, DependentPropertiesError,
ExtraPropertiesError, ImmutableError,
InvalidObjRefError, InvalidValueError,
MissingPropertiesError,
MutuallyExclusivePropertiesError, RevokeError,
UnmodifiablePropertyError)
from .utils import NOW, format_datetime, get_timestamp, parse_into_datetime
__all__ = ['STIXJSONEncoder', '_STIXBase']

View File

@ -206,7 +206,7 @@ class TAXIIDataSource(DataSource):
all_data.append(stix_obj)
except requests.exceptions.RequestException as e:
raise
raise e
# raise type(e), type(e)(e.message +
# "Attempting to connect to %s" % coll_url)