File tree 2 files changed +0
-5
lines changed
2 files changed +0
-5
lines changed Original file line number Diff line number Diff line change 1
1
from splunk_eventgen .lib .logging_config import logger
2
2
import datetime
3
3
import math
4
- import os
5
4
import re
6
5
# Hack to allow distributing python modules since Splunk doesn't have setuptools
7
6
# We create the egg outside of Splunk (with a copy of python2.7 and using Python only modules
8
7
# To avoid being platform specific) and then append the egg path and import the module
9
8
# If we get a lot of these we'll move the eggs from bin to lib
10
9
#
11
- # python-dateutil acquired from http://labix.org/python-dateutil. BSD Licensed
12
- import sys
13
10
14
- path_prepend = os .path .join (os .path .dirname (os .path .dirname (os .path .abspath (__file__ ))), 'lib' )
15
- sys .path .append (path_prepend + '/python_dateutil-1.4.1-py2.7.egg' )
16
11
import dateutil .parser as dateutil_parser # noqa isort:skip
17
12
18
13
You can’t perform that action at this time.
0 commit comments