# -*- coding: utf-8  -*-
""" Lockable CookieJar and FileCookieJar """

#
# (C) Merlijn van Deen, 2007
#
# Distributed under the terms of the MIT license
#

__version__ = '$Id$'
__docformat__ = 'epytext'

import logging
import threading
import cookielib

class LockableCookieJar(cookielib.CookieJar):
    """ CookieJar with integrated Lock object """
    def __init__(self, *args, **kwargs):
        cookielib.CookieJar.__init__(self, *args, **kwargs)
        self.lock = threading.Lock()

class LockableFileCookieJar(cookielib.FileCookieJar):
    """ CookieJar with integrated Lock object """
    def __init__(self, *args, **kwargs):
        cookielib.FileCookieJar.__init__(self, *args, **kwargs)
        self.lock = threading.Lock()

040f3294be94a6c9e74c8d59567150b873d8f5c2
<mask token>


class LockableFileCookieJar(cookielib.FileCookieJar):
    <mask token>

    def __init__(self, *args, **kwargs):
        cookielib.FileCookieJar.__init__(self, *args, **kwargs)
        self.lock = threading.Lock()

<mask token>


class LockableCookieJar(cookielib.CookieJar):
    <mask token>

    def __init__(self, *args, **kwargs):
        cookielib.CookieJar.__init__(self, *args, **kwargs)
        self.lock = threading.Lock()


class LockableFileCookieJar(cookielib.FileCookieJar):
    """ CookieJar with integrated Lock object """

    def __init__(self, *args, **kwargs):
        cookielib.FileCookieJar.__init__(self, *args, **kwargs)
        self.lock = threading.Lock()

<mask token>
__version__ = '$Id$'
__docformat__ = 'epytext'
<mask token>


class LockableCookieJar(cookielib.CookieJar):
    """ CookieJar with integrated Lock object """

    def __init__(self, *args, **kwargs):
        cookielib.CookieJar.__init__(self, *args, **kwargs)
        self.lock = threading.Lock()


class LockableFileCookieJar(cookielib.FileCookieJar):
    """ CookieJar with integrated Lock object """

    def __init__(self, *args, **kwargs):
        cookielib.FileCookieJar.__init__(self, *args, **kwargs)
        self.lock = threading.Lock()

<mask token>
__version__ = '$Id$'
__docformat__ = 'epytext'
import logging
import threading
import cookielib


class LockableCookieJar(cookielib.CookieJar):
    """ CookieJar with integrated Lock object """

    def __init__(self, *args, **kwargs):
        cookielib.CookieJar.__init__(self, *args, **kwargs)
        self.lock = threading.Lock()


class LockableFileCookieJar(cookielib.FileCookieJar):
    """ CookieJar with integrated Lock object """

    def __init__(self, *args, **kwargs):
        cookielib.FileCookieJar.__init__(self, *args, **kwargs)
        self.lock = threading.Lock()

# -*- coding: utf-8  -*-
""" Lockable CookieJar and FileCookieJar """

#
# (C) Merlijn van Deen, 2007
#
# Distributed under the terms of the MIT license
#

__version__ = '$Id$'
__docformat__ = 'epytext'

import logging
import threading
import cookielib

class LockableCookieJar(cookielib.CookieJar):
    """ CookieJar with integrated Lock object """
    def __init__(self, *args, **kwargs):
        cookielib.CookieJar.__init__(self, *args, **kwargs)
        self.lock = threading.Lock()

class LockableFileCookieJar(cookielib.FileCookieJar):
    """ CookieJar with integrated Lock object """
    def __init__(self, *args, **kwargs):
        cookielib.FileCookieJar.__init__(self, *args, **kwargs)
        self.lock = threading.Lock()
