From f120061eb07471770245783a786b70b6dc90e9a0 Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Thu, 29 Jul 2010 12:17:46 -0700 Subject: Try to use kitchen when available. This should make things work on el4/5 --- src/pyfedpkg/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/pyfedpkg/__init__.py b/src/pyfedpkg/__init__.py index 768a9fd..c956eec 100644 --- a/src/pyfedpkg/__init__.py +++ b/src/pyfedpkg/__init__.py @@ -14,7 +14,10 @@ import sys import shutil import re import pycurl -import subprocess +try: + from kitchen.pycompat27 import subprocess +except ImportError: + import subprocess import hashlib import koji import rpm -- cgit