Make Travis happy with cosmetic fixes
parent
9dbde93031
commit
f321447ecc
|
@ -5,9 +5,12 @@ import copy
|
||||||
import datetime as dt
|
import datetime as dt
|
||||||
import json
|
import json
|
||||||
|
|
||||||
from .exceptions import (AtLeastOnePropertyError, DependentPropertiesError, ExtraPropertiesError, ImmutableError,
|
from .exceptions import (AtLeastOnePropertyError, DependentPropertiesError,
|
||||||
InvalidObjRefError, InvalidValueError, MissingPropertiesError, MutuallyExclusivePropertiesError,
|
ExtraPropertiesError, ImmutableError,
|
||||||
RevokeError, UnmodifiablePropertyError)
|
InvalidObjRefError, InvalidValueError,
|
||||||
|
MissingPropertiesError,
|
||||||
|
MutuallyExclusivePropertiesError, RevokeError,
|
||||||
|
UnmodifiablePropertyError)
|
||||||
from .utils import NOW, format_datetime, get_timestamp, parse_into_datetime
|
from .utils import NOW, format_datetime, get_timestamp, parse_into_datetime
|
||||||
|
|
||||||
__all__ = ['STIXJSONEncoder', '_STIXBase']
|
__all__ = ['STIXJSONEncoder', '_STIXBase']
|
||||||
|
|
|
@ -206,7 +206,7 @@ class TAXIIDataSource(DataSource):
|
||||||
all_data.append(stix_obj)
|
all_data.append(stix_obj)
|
||||||
|
|
||||||
except requests.exceptions.RequestException as e:
|
except requests.exceptions.RequestException as e:
|
||||||
raise
|
raise e
|
||||||
# raise type(e), type(e)(e.message +
|
# raise type(e), type(e)(e.message +
|
||||||
# "Attempting to connect to %s" % coll_url)
|
# "Attempting to connect to %s" % coll_url)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue