Traceback (most recent call last):


 "drcom_p_config.py", line 20, in <module>

offset = re.search('\x07[\x00-\xFF]\x60\x00\x03\x00', text).start()
AttributeError: 'NoneType' object has no attribute 'start'

Traceback (most recent call last):


 "/usr/lib/python2.7/dist-packages/salt/loader.py", line 1567, in _load_module

mod = imp.load_module(mod_namespace, fn_, fpath, desc)


 "/usr/lib/python2.7/dist-packages/salt/states/pkgrepo.py", line 93, in <module>

from salt.exceptions import CommandExecutionError, SaltInvocationError


 "/usr/lib/python2.7/dist-packages/salt/exceptions.py", line 9, in <module>

import logging


 "/usr/lib/python2.7/logging/__init__.py", line 26, in <module>

import sys, os, time, cStringIO, traceback, warnings, weakref, collections


 "/usr/lib/python2.7/os.py", line 119, in <module>

sys.modules['os.path'] = path
AttributeError: 'module' object has no attribute 'modules'
