Skip to content

Commit

Permalink
copy() fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nviennot committed May 2, 2011
1 parent ffd5878 commit a7ef885
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scribe/events_base.pxi
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ cdef class Event:
# Breaking COW the dirty way
new_event = self._buffer + b'\x00'
new_event = new_event[0:-1]
return self.__class__(new_event)
return self.__class__(buffer=new_event)

def copy(self):
return self.__copy__()
Expand Down

0 comments on commit a7ef885

Please sign in to comment.