mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
python: Fixing some python2-to-python3 migrations that I missed in the last PR.
This commit is contained in:
parent
05b4ac0d29
commit
a3421709fe
@ -27,8 +27,8 @@ def extractSourceName(line):
|
||||
# writes the following source into a file named sourceName
|
||||
def writeSourceToFile(lines):
|
||||
filePath, srcName = extractSourceName(lines[0])
|
||||
# print "sourceName is", srcName
|
||||
# print "filePath is", filePath
|
||||
# print("sourceName is ", srcName)
|
||||
# print("filePath is", filePath)
|
||||
if filePath != False:
|
||||
os.system("mkdir -p " + filePath)
|
||||
f = open(srcName, mode='a+', encoding='utf8')
|
||||
|
Loading…
Reference in New Issue
Block a user