Do not try to close a file descriptor, which is an int.
This commit is contained in:
parent
fcb8d0f1ab
commit
9b1a7f2e4f
@ -147,7 +147,6 @@ def writeYumConf(cachedir=None, repo=None, extrarepos=[], mirrorlist=[]):
|
||||
n += 1
|
||||
|
||||
f.close()
|
||||
fd.close()
|
||||
return yumconf
|
||||
|
||||
def getBuildArch(yumconf=None):
|
||||
|
Loading…
Reference in New Issue
Block a user