[setools/f13/master] - Return None when no records match python setools.sesearch

Daniel J Walsh dwalsh at fedoraproject.org
Thu Oct 14 18:35:40 UTC 2010


commit f03c2be12aa53db5fce78e59aac7bdc9d6e0d71d
Author: Dan Walsh <dwalsh at redhat.com>
Date:   Thu Oct 14 14:35:32 2010 -0400

    - Return None when no records match python setools.sesearch

 setools-python.patch |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/setools-python.patch b/setools-python.patch
index 690cf57..6d13af6 100644
--- a/setools-python.patch
+++ b/setools-python.patch
@@ -2236,8 +2236,8 @@ diff -up setools-3.3.7/python/setools/seinfo.c.python setools-3.3.7/python/setoo
 +}
 diff -up setools-3.3.7/python/setools/sesearch.c.python setools-3.3.7/python/setools/sesearch.c
 --- setools-3.3.7/python/setools/sesearch.c.python	2010-07-30 15:02:10.000000000 -0400
-+++ setools-3.3.7/python/setools/sesearch.c	2010-10-14 11:04:53.000000000 -0400
-@@ -0,0 +1,479 @@
++++ setools-3.3.7/python/setools/sesearch.c	2010-10-14 14:34:47.000000000 -0400
+@@ -0,0 +1,478 @@
 +// Author: Thomas Liu <tliu at redhat.com>
 +
 +/**
@@ -2656,7 +2656,6 @@ diff -up setools-3.3.7/python/setools/sesearch.c.python setools-3.3.7/python/set
 +		goto cleanup;
 +	}
 +	if (v) {
-+		printf("Dan 1\n");
 +		output =  get_av_results(policy, &cmd_opts, v);
 +	}
 +	apol_vector_destroy(&v);


More information about the scm-commits mailing list