Skip to content

Commit

Permalink
Make this static
Browse files Browse the repository at this point in the history
  • Loading branch information
gmr committed Nov 4, 2015
1 parent 7a0b996 commit 5530ef5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pika/heartbeat.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@ def _has_received_data(self):
"""
return not self._bytes_received == self.bytes_received_on_connection

def _new_heartbeat_frame(self):
@staticmethod
def _new_heartbeat_frame():
"""Return a new heartbeat frame.
:rtype pika.frame.Heartbeat
Expand Down

0 comments on commit 5530ef5

Please sign in to comment.