summaryrefslogtreecommitdiffstats
path: root/packages.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages.py')
-rw-r--r--packages.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/packages.py b/packages.py
index ac51d0572..98aa2dd14 100644
--- a/packages.py
+++ b/packages.py
@@ -25,7 +25,6 @@ import pcmcia
import dispatch
from log import log
from flags import flags
-import fcntl, FCNTL
def queryUpgradeContinue(intf, dir, dispatch):
if dir == dispatch.DISPATCH_BACK:
@@ -214,7 +213,6 @@ class InstallCallback:
while self.rpmFD < 0:
try:
self.rpmFD = os.open(fn, os.O_RDONLY)
- fcntl.fcntl(self.rpmFD, FCNTL.F_SETFD, FCNTL.FD_CLOEXEC)
# Make sure this package seems valid
try:
(h, isSource) = rpm.headerFromPackage(self.rpmFD)