d
This commit is contained in:
7
Utilities/platform/common/modulePaths.py
Normal file
7
Utilities/platform/common/modulePaths.py
Normal file
@@ -0,0 +1,7 @@
|
||||
def modulePaths(name):
|
||||
parts = name.split("/")
|
||||
if len(parts) == 2:
|
||||
return (name, parts[1])
|
||||
else:
|
||||
return (name, name)
|
||||
|
||||
6
Utilities/platform/common/readFile.py
Normal file
6
Utilities/platform/common/readFile.py
Normal file
@@ -0,0 +1,6 @@
|
||||
def readFile(fileName):
|
||||
lines = []
|
||||
with open(fileName) as file:
|
||||
for line in file:
|
||||
lines.append(line.rstrip())
|
||||
return lines
|
||||
Reference in New Issue
Block a user