Skip to content
Snippets Groups Projects
Commit b1d51bc8 authored by John Chapman's avatar John Chapman
Browse files

Fix string split syntax to be python 3 compatible

parent 8e758e72
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,6 @@ from PyUtils.xmldict import import_etree
etree = import_etree()
import xml.etree.cElementTree as ET
from string import split
from os.path import exists, join, abspath
from AthenaCommon.Logging import logging # loads logger
......@@ -44,7 +43,7 @@ def findFileInXMLPATH(filename):
return filename
xmlpath = environ['XMLPATH']
paths = split(xmlpath, ":")
paths = xmlpath.split(":")
for path in paths:
test = join(path, filename)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment