Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

whitespace + docstring

  • Loading branch information...
commit 59455d04d6c9c9bd4c3abd9cefe3338a3cf32b59 1 parent 54673d2
Michael mvantellingen authored

Showing 1 changed file with 6 additions and 3 deletions. Show diff stats Hide diff stats

  1. +6 3 psycopg2ct/_impl/connection.py
9 psycopg2ct/_impl/connection.py
@@ -67,9 +67,6 @@ def check_async_(self, *args, **kwargs):
67 67 return check_async_
68 68
69 69
70   -
71   -
72   -
73 70 class Connection(object):
74 71
75 72 # Various exceptions which should be accessible via the Connection
@@ -669,6 +666,12 @@ def _is_busy(self):
669 666 return res
670 667
671 668 def _process_notice(self, arg, message):
  669 + """Store the given message in `self.notices`
  670 +
  671 + Also delete older entries to make sure there are no more then 50
  672 + entries in the list.
  673 +
  674 + """
672 675 self.notices.append(message)
673 676 length = len(self.notices)
674 677 if length > 50:

0 comments on commit 59455d0

Please sign in to comment.
Something went wrong with that request. Please try again.