mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Fix some copyrights, fix a misc test.
This commit is contained in:
3
lib/ansible/cache/file.py
vendored
3
lib/ansible/cache/file.py
vendored
@@ -1,4 +1,4 @@
|
||||
# (c) 2014, Michael DeHaan <michael.dehaan@gmail.com>
|
||||
# (c) 2014, Brian Coca, Josh Drake, et al
|
||||
#
|
||||
# This file is part of Ansible
|
||||
#
|
||||
@@ -14,6 +14,7 @@
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import collections
|
||||
|
||||
3
lib/ansible/cache/memcached.py
vendored
3
lib/ansible/cache/memcached.py
vendored
@@ -1,4 +1,4 @@
|
||||
# (c) 2014, Michael DeHaan <michael.dehaan@gmail.com>
|
||||
# (c) 2014, Brian Coca, Josh Drake, et al
|
||||
#
|
||||
# This file is part of Ansible
|
||||
#
|
||||
@@ -14,6 +14,7 @@
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import collections
|
||||
import os
|
||||
import sys
|
||||
|
||||
3
lib/ansible/cache/memory.py
vendored
3
lib/ansible/cache/memory.py
vendored
@@ -1,4 +1,4 @@
|
||||
# (c) 2014, Michael DeHaan <michael.dehaan@gmail.com>
|
||||
# (c) 2014, Brian Coca, Josh Drake, et al
|
||||
#
|
||||
# This file is part of Ansible
|
||||
#
|
||||
@@ -15,7 +15,6 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
class CacheModule(object):
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
7
lib/ansible/cache/redis.py
vendored
7
lib/ansible/cache/redis.py
vendored
@@ -1,4 +1,4 @@
|
||||
# (c) 2014, Michael DeHaan <michael.dehaan@gmail.com>
|
||||
# (c) 2014, Brian Coca, Josh Drake, et al
|
||||
#
|
||||
# This file is part of Ansible
|
||||
#
|
||||
@@ -14,9 +14,10 @@
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
||||
from __future__ import absolute_import
|
||||
|
||||
from __future__ import absolute_import
|
||||
import collections
|
||||
# FIXME: can we store these as something else before we ship it?
|
||||
import cPickle
|
||||
import sys
|
||||
import time
|
||||
@@ -33,7 +34,7 @@ except ImportError:
|
||||
|
||||
class PickledRedis(StrictRedis):
|
||||
"""
|
||||
A subclass of StricRedis that uses the pickle module to store and load
|
||||
A subclass of StrictRedis that uses the pickle module to store and load
|
||||
representations of the provided values.
|
||||
"""
|
||||
def get(self, name):
|
||||
|
||||
Reference in New Issue
Block a user