Merge "Remove unnecessary swift_conn comments"
This commit is contained in:
commit
84f494c0e7
@ -13,17 +13,6 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# NOTE: swift_conn
|
||||
# You'll see swift_conn passed around a few places in this file. This is the
|
||||
# source httplib connection of whatever it is attached to.
|
||||
# It is used when early termination of reading from the connection should
|
||||
# happen, such as when a range request is satisfied but there's still more the
|
||||
# source connection would like to send. To prevent having to read all the data
|
||||
# that could be left, the source connection can be .close() and then reads
|
||||
# commence to empty out any buffers.
|
||||
# These shenanigans are to ensure all related objects can be garbage
|
||||
# collected. We've seen objects hang around forever otherwise.
|
||||
|
||||
from swift import gettext_ as _
|
||||
from urllib import unquote
|
||||
|
||||
|
@ -13,17 +13,6 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# NOTE: swift_conn
|
||||
# You'll see swift_conn passed around a few places in this file. This is the
|
||||
# source httplib connection of whatever it is attached to.
|
||||
# It is used when early termination of reading from the connection should
|
||||
# happen, such as when a range request is satisfied but there's still more the
|
||||
# source connection would like to send. To prevent having to read all the data
|
||||
# that could be left, the source connection can be .close() and then reads
|
||||
# commence to empty out any buffers.
|
||||
# These shenanigans are to ensure all related objects can be garbage
|
||||
# collected. We've seen objects hang around forever otherwise.
|
||||
|
||||
from swift import gettext_ as _
|
||||
from urllib import unquote
|
||||
|
||||
|
@ -13,17 +13,6 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# NOTE: swift_conn
|
||||
# You'll see swift_conn passed around a few places in this file. This is the
|
||||
# source httplib connection of whatever it is attached to.
|
||||
# It is used when early termination of reading from the connection should
|
||||
# happen, such as when a range request is satisfied but there's still more the
|
||||
# source connection would like to send. To prevent having to read all the data
|
||||
# that could be left, the source connection can be .close() and then reads
|
||||
# commence to empty out any buffers.
|
||||
# These shenanigans are to ensure all related objects can be garbage
|
||||
# collected. We've seen objects hang around forever otherwise.
|
||||
|
||||
import mimetypes
|
||||
import os
|
||||
import socket
|
||||
|
Loading…
x
Reference in New Issue
Block a user