From 172805f45bc3ceffe39bd8ac72c7d14ea1d97ed5 Mon Sep 17 00:00:00 2001 From: Greg Neagle Date: Tue, 4 Jun 2019 16:23:46 -0700 Subject: [PATCH] Remove no-longer needed print_fn definition --- code/client/munkiimport | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/code/client/munkiimport b/code/client/munkiimport index 038cc6ad..059e8abb 100755 --- a/code/client/munkiimport +++ b/code/client/munkiimport @@ -153,18 +153,13 @@ def prompt_for_subdirectory(repo, subdirectory): return newdir -def print_fn(text): - '''Wraps print in a function for make_catalogs''' - print(text) - - def make_catalogs(repo, options): """Rebuild our catalogs""" if not options.verbose: print('Rebuilding catalogs at %s...' % options.repo_url) output_fn = None else: - output_fn = print_fn + output_fn = print errors = makecatalogslib.makecatalogs(repo, {}, output_fn=output_fn) if errors: