From 211864073d9254f9d116ee052092f1949775f544 Mon Sep 17 00:00:00 2001 From: Sol Jerome Date: Mon, 30 Jul 2012 16:08:59 -0500 Subject: Inotify: Use functools where reduce is unavailable Signed-off-by: Sol Jerome --- src/lib/Bcfg2/Server/FileMonitor/Inotify.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/lib/Bcfg2/Server/FileMonitor/Inotify.py') diff --git a/src/lib/Bcfg2/Server/FileMonitor/Inotify.py b/src/lib/Bcfg2/Server/FileMonitor/Inotify.py index 7362432b8..880ac7e8d 100644 --- a/src/lib/Bcfg2/Server/FileMonitor/Inotify.py +++ b/src/lib/Bcfg2/Server/FileMonitor/Inotify.py @@ -1,10 +1,11 @@ """ Inotify driver for file alteration events """ -import os -import sys import logging import operator +import os import pyinotify +import sys +from Bcfg2.Bcfg2Py3k import reduce from Bcfg2.Server.FileMonitor import Event from Bcfg2.Server.FileMonitor.Pseudo import Pseudo -- cgit v1.2.3-1-g7c22