提交 56d34a4f 编写于 作者: H Heikki Linnakangas 提交者: Xin Zhang

Remove more dead code related to filespaces.

I had removed the fileSpaceDictionary argument to SegmentRow constructor
earlier, but this was left behind.
上级 d204ef97
......@@ -619,12 +619,6 @@ def createSegmentRows( hostlist
address = host + '-' + str(interfaceNumber)
else:
address = host
fsDict = {}
if primary_fs_list != None and len(primary_fs_list) > index:
fsDict = primary_fs_list[index]
fullFsDict = {}
for oid in fsDict:
fullFsDict[oid] = "%s/%s%d" % (fsDict[oid], dir_prefix, content)
rows.append( SegmentRow( content = content
, isprimary = isprimary
, dbid = dbid
......@@ -632,7 +626,6 @@ def createSegmentRows( hostlist
, address = address
, port = port
, fulldir = fulldir
, fileSpaceDictionary = fullFsDict
) )
port += 1
content += 1
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册