Skip to content

Commit 027e761

Browse files
authored
Merge pull request #348 from splunk/copyright-updates-2020
Update copyright years to 2020
2 parents ef5e40e + 1f0a076 commit 027e761

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343

4444
# General information about the project.
4545
project = u'Splunk SDK for Python'
46-
copyright = u'2014, Splunk Inc'
46+
copyright = u'2020, Splunk Inc'
4747

4848
# The version info for the project you're documenting, acts as replacement for
4949
# |version| and |release|, also used in various other places throughout the
@@ -95,7 +95,7 @@
9595
# a list of builtin themes.
9696

9797
# agogo, default, epub, haiku, nature, pyramid, scrolls, sphinxdoc, traditional
98-
html_theme = 'default'
98+
html_theme = 'default'
9999

100100
# Theme options are theme-specific and customize the look and feel of a theme
101101
# further. For a list of options available for each theme, see the

tests/test_kvstore_batch.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python
22
#
3-
# Copyright 2011-2014 Splunk, Inc.
3+
# Copyright 2011-2020 Splunk, Inc.
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License"): you may
66
# not use this file except in compliance with the License. You may obtain
@@ -68,7 +68,7 @@ def test_insert_find_update_data(self):
6868
self.assertEqual(testData[x][0]['_key'], str(x))
6969
self.assertEqual(testData[x][0]['data'], '#' + str(x + 1))
7070
self.assertEqual(testData[x][0]['num'], x + 1)
71-
71+
7272

7373
def tearDown(self):
7474
confs = self.service.kvstore

tests/test_kvstore_conf.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python
22
#
3-
# Copyright 2011-2014 Splunk, Inc.
3+
# Copyright 2011-2020 Splunk, Inc.
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License"): you may
66
# not use this file except in compliance with the License. You may obtain
@@ -54,10 +54,10 @@ def test_update_fields(self):
5454
self.confs.create('test')
5555
self.confs['test'].post(**{'field.a': 'number'})
5656
self.assertEqual(self.confs['test']['field.a'], 'number')
57-
self.confs['test'].update_field('a', 'string')
57+
self.confs['test'].update_field('a', 'string')
5858
self.assertEqual(self.confs['test']['field.a'], 'string')
5959
self.confs['test'].delete()
60-
60+
6161

6262
def test_create_unique_collection(self):
6363
self.confs.create('test')
@@ -77,17 +77,17 @@ def test_overlapping_collections(self):
7777
self.confs['test'].delete()
7878
self.confs['test'].delete()
7979

80-
"""
80+
"""
8181
def test_create_accelerated_fields_fields(self):
82-
self.confs.create('test', indexes={'foo': '{"foo": 1}', 'bar': {'bar': -1}}, **{'field.foo': 'string'})
82+
self.confs.create('test', indexes={'foo': '{"foo": 1}', 'bar': {'bar': -1}}, **{'field.foo': 'string'})
8383
self.assertEqual(self.confs['test']['accelerated_fields.foo'], '{"foo": 1}')
8484
self.assertEqual(self.confs['test']['field.foo'], 'string')
8585
self.assertRaises(client.HTTPError, lambda: self.confs['test'].post(**{'accelerated_fields.foo': 'THIS IS INVALID'}))
8686
self.assertEqual(self.confs['test']['accelerated_fields.foo'], '{"foo": 1}')
8787
self.confs['test'].update_accelerated_fields('foo', '')
8888
self.assertEqual(self.confs['test']['accelerated_fields.foo'], None)
8989
"""
90-
90+
9191
def tearDown(self):
9292
if ('test' in self.confs):
9393
self.confs['test'].delete()

tests/test_kvstore_data.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python
22
#
3-
# Copyright 2011-2014 Splunk, Inc.
3+
# Copyright 2011-2020 Splunk, Inc.
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License"): you may
66
# not use this file except in compliance with the License. You may obtain
@@ -61,7 +61,7 @@ def test_update_delete_data(self):
6161

6262
def test_query_data(self):
6363
if ('test1' in self.confs):
64-
self.confs['test1'].delete()
64+
self.confs['test1'].delete()
6565
self.confs.create('test1')
6666
self.col = self.confs['test1'].data
6767
for x in range(10):
@@ -73,7 +73,7 @@ def test_query_data(self):
7373
self.assertEqual(data[0]['data'], '#0')
7474
data = self.col.query(limit=2, skip=9)
7575
self.assertEqual(len(data), 1)
76-
76+
7777

7878
def test_invalid_insert_update(self):
7979
self.assertRaises(client.HTTPError, lambda: self.col.insert('NOT VALID DATA'))

0 commit comments

Comments
 (0)