From 9b1a7f2e4f029eca864f4e8891ec41202a0caae5 Mon Sep 17 00:00:00 2001 From: David Cantrell Date: Sat, 4 Oct 2008 20:31:13 -1000 Subject: [PATCH] Do not try to close a file descriptor, which is an int. --- src/pylorax/__init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/pylorax/__init__.py b/src/pylorax/__init__.py index a32ef3c3..4e245c28 100644 --- a/src/pylorax/__init__.py +++ b/src/pylorax/__init__.py @@ -147,7 +147,6 @@ def writeYumConf(cachedir=None, repo=None, extrarepos=[], mirrorlist=[]): n += 1 f.close() - fd.close() return yumconf def getBuildArch(yumconf=None):