Skip to content

Commit 80ea477

Browse files
author
David Noble
committed
Merge branch 'develop-1.2.0' of https://github.com/splunk/splunk-sdk-python into develop-1.2.0
2 parents 91d2b2f + cbb8ff4 commit 80ea477

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

examples/searchcommands_template/bin/generate.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
# License for the specific language governing permissions and limitations
1515
# under the License.
1616

17+
import sys
1718
from splunklib.searchcommands import \
1819
dispatch, GeneratingCommand, Configuration, Option, validators
1920

examples/searchcommands_template/bin/report.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
# License for the specific language governing permissions and limitations
1515
# under the License.
1616

17+
import sys
1718
from splunklib.searchcommands import \
1819
dispatch, ReportingCommand, Configuration, Option, validators
1920

examples/searchcommands_template/bin/stream.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,13 @@
1414
# License for the specific language governing permissions and limitations
1515
# under the License.
1616

17+
import sys
1718
from splunklib.searchcommands import \
18-
dispatch, GeneratingCommand, Configuration, Option, validators
19+
dispatch, StreamingCommand, Configuration, Option, validators
1920

2021

2122
@Configuration()
22-
class %(command.title())Command(GeneratingCommand):
23+
class %(command.title())Command(StreamingCommand):
2324
""" %(synopsis)
2425
2526
##Syntax

0 commit comments

Comments
 (0)