minor: fix copyright date
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
parent
c38bd24c80
commit
bb1160f0ee
@ -1,5 +1,5 @@
|
||||
# IMAP server support
|
||||
# Copyright (C) 2002 - 2011 John Goerzen & contributors
|
||||
# Copyright (C) 2002 - 2016 John Goerzen & contributors
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@ -29,13 +29,12 @@ import errno
|
||||
from sys import exc_info
|
||||
from socket import gaierror
|
||||
from ssl import SSLError, cert_time_to_seconds
|
||||
import six
|
||||
|
||||
from offlineimap import imaplibutil, imaputil, threadutil, OfflineImapError
|
||||
import offlineimap.accounts
|
||||
from offlineimap.ui import getglobalui
|
||||
|
||||
import six
|
||||
|
||||
|
||||
try:
|
||||
# do we have a recent pykerberos?
|
||||
@ -46,6 +45,7 @@ try:
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
|
||||
class IMAPServer(object):
|
||||
"""Initializes all variables from an IMAPRepository() instance
|
||||
|
||||
@ -181,7 +181,9 @@ class IMAPServer(object):
|
||||
:param drop_conn: If True, the connection will be released and
|
||||
not be reused. This can be used to indicate broken connections."""
|
||||
|
||||
if connection is None: return #noop on bad connection
|
||||
if connection is None:
|
||||
return # Noop on bad connection.
|
||||
|
||||
self.connectionlock.acquire()
|
||||
self.assignedconnections.remove(connection)
|
||||
# Don't reuse broken connections
|
||||
|
Loading…
Reference in New Issue
Block a user