Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Lyons committed Jul 3, 2018
2 parents 7b4d97d + 20fc8ec commit 51df3e1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions sammy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,6 @@ def to_dict(self):
def add_attr(self,k,v):
self.r_attrs['Properties'][k] = v


def add_attr(self,k,v):
self.r_attrs['Properties'][k] = v

class EventSchema(SAMSchema):
_event_type = None

Expand Down Expand Up @@ -516,4 +512,4 @@ def to_yaml(self):
default_flow_style=False)

def to_json(self):
return json.dumps(self.get_template_dict(),cls=ValleyEncoderNoType)
return json.dumps(self.get_template_dict(),cls=ValleyEncoderNoType)

0 comments on commit 51df3e1

Please sign in to comment.