Fix trailing commas
parent
d5d664ba41
commit
e25734d2b6
|
@ -170,8 +170,10 @@ class Property(object):
|
||||||
self.required = required
|
self.required = required
|
||||||
|
|
||||||
if required and default:
|
if required and default:
|
||||||
raise STIXError("Cant't use 'required' and 'default' together. 'required'"
|
raise STIXError(
|
||||||
"really means 'the user must provide this.'")
|
"Cant't use 'required' and 'default' together. 'required'"
|
||||||
|
"really means 'the user must provide this.'",
|
||||||
|
)
|
||||||
|
|
||||||
if fixed:
|
if fixed:
|
||||||
self._fixed_value = fixed
|
self._fixed_value = fixed
|
||||||
|
|
|
@ -131,7 +131,7 @@ MALWARE_ANALYSIS_KWARGS = dict(
|
||||||
|
|
||||||
NOTE_KWARGS = dict(
|
NOTE_KWARGS = dict(
|
||||||
content="Heartbleed",
|
content="Heartbleed",
|
||||||
object_refs=[CAMPAIGN_ID]
|
object_refs=[CAMPAIGN_ID],
|
||||||
)
|
)
|
||||||
|
|
||||||
OBSERVED_DATA_KWARGS = dict(
|
OBSERVED_DATA_KWARGS = dict(
|
||||||
|
@ -148,7 +148,7 @@ OBSERVED_DATA_KWARGS = dict(
|
||||||
|
|
||||||
OPINION_KWARGS = dict(
|
OPINION_KWARGS = dict(
|
||||||
opinion="agree",
|
opinion="agree",
|
||||||
object_refs=[CAMPAIGN_ID]
|
object_refs=[CAMPAIGN_ID],
|
||||||
)
|
)
|
||||||
|
|
||||||
REPORT_KWARGS = dict(
|
REPORT_KWARGS = dict(
|
||||||
|
|
Loading…
Reference in New Issue