Skip to content

Commit dbe390c

Browse files
committed
update example path
1 parent 84dab82 commit dbe390c

38 files changed

+38
-38
lines changed

examples/abc/b.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from __future__ import absolute_import
1818
from __future__ import print_function
1919
import sys, os
20-
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", ".."))
20+
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", "lib"))
2121

2222
from xml.etree import ElementTree
2323

examples/abc/c.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
from __future__ import absolute_import
1717
from __future__ import print_function
1818
import sys, os
19-
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", ".."))
19+
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", "lib"))
2020

2121
import splunklib.client as client
2222

examples/analytics/input.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from __future__ import absolute_import
1818
import sys, os
1919
from splunklib import six
20-
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", ".."))
20+
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", "lib"))
2121
from datetime import datetime
2222
import splunklib.client as client
2323

examples/analytics/output.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from __future__ import absolute_import
1818
import sys, os
1919
from splunklib import six
20-
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", ".."))
20+
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", "lib"))
2121
import splunklib.client as client
2222
import splunklib.results as results
2323
try:

examples/analytics/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from __future__ import absolute_import
1818
import sys, os
1919
from splunklib import six
20-
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", ".."))
20+
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", "lib"))
2121

2222
from .bottle import route, run, debug, template, static_file, request
2323

examples/async/async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
import sys, os, datetime
2626
import urllib
2727
import ssl
28-
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", ".."))
28+
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", "lib"))
2929

3030
import splunklib.binding as binding
3131
import splunklib.client as client

examples/binding1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
from __future__ import absolute_import
2323
import sys, os
24-
sys.path.insert(0, os.path.join(os.path.dirname(__file__), ".."))
24+
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", "lib"))
2525

2626
from splunklib.binding import connect
2727

examples/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from __future__ import print_function
2121
import sys, os
2222

23-
sys.path.insert(0, os.path.join(os.path.dirname(__file__), ".."))
23+
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", "lib"))
2424

2525
from splunklib import six
2626
from splunklib.client import connect

examples/dashboard/feed.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
from __future__ import print_function
2525
import sys, os, urllib2, json
2626
from six.moves import zip
27-
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", ".."))
27+
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", "lib"))
2828
from xml.etree import ElementTree
2929

3030
import splunklib.client as client

examples/event_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from __future__ import absolute_import
2020
from __future__ import print_function
2121
import sys, os
22-
sys.path.insert(0, os.path.join(os.path.dirname(__file__), ".."))
22+
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", "lib"))
2323

2424
from splunklib.client import connect
2525

0 commit comments

Comments
 (0)