From aa1a6b1ea9942fe3d996e826eabfeae1cabcdc26 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Mon, 29 Jun 2015 21:59:11 +0200 Subject: [PATCH] Unify return type of list_active_domains for python{2,3} --- ...-return-list-for-list_active_domains.patch | 25 +++++++++++++++++++ sssd.spec | 6 ++++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 0001-SSSDConfig-return-list-for-list_active_domains.patch diff --git a/0001-SSSDConfig-return-list-for-list_active_domains.patch b/0001-SSSDConfig-return-list-for-list_active_domains.patch new file mode 100644 index 0000000..0bdd950 --- /dev/null +++ b/0001-SSSDConfig-return-list-for-list_active_domains.patch @@ -0,0 +1,25 @@ +From adac3439a9f7de30400420c650b3f3b9c80fe285 Mon Sep 17 00:00:00 2001 +From: Lukas Slebodnik +Date: Mon, 29 Jun 2015 21:54:26 +0200 +Subject: [PATCH] SSSDConfig: return list for list_active_domains + +--- + src/config/SSSDConfig/__init__.py.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/config/SSSDConfig/__init__.py.in b/src/config/SSSDConfig/__init__.py.in +index f2d9bf0190745d4a5296c56212e5ff97681db59c..b9219bf1ed52c765e70076faa45cc6621f73b50c 100644 +--- a/src/config/SSSDConfig/__init__.py.in ++++ b/src/config/SSSDConfig/__init__.py.in +@@ -1778,7 +1778,7 @@ class SSSDConfig(SSSDChangeConf): + if dom not in configured_domains: + del domain_dict[dom] + +- active_domains = domain_dict.keys() ++ active_domains = list(domain_dict.keys()) + else: + active_domains = [] + +-- +2.4.3 + diff --git a/sssd.spec b/sssd.spec index 25643e9..56172f3 100644 --- a/sssd.spec +++ b/sssd.spec @@ -29,7 +29,7 @@ Name: sssd Version: 1.13.0 -Release: 1%{?dist}.alpha +Release: 2%{?dist}.alpha Group: Applications/System Summary: System Security Services Daemon License: GPLv3+ @@ -38,6 +38,7 @@ Source0: https://fedorahosted.org/released/sssd/%{name}-%{version}alpha.tar.gz BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) ### Patches ### +Patch0001: 0001-SSSDConfig-return-list-for-list_active_domains.patch ### Dependencies ### Requires: sssd-common = %{version}-%{release} @@ -1010,6 +1011,9 @@ fi %{_libdir}/%{name}/modules/libwbclient.so %changelog +* Tue Jun 30 2015 Lukas Slebodnik - 1.13.0-2.alpha +- Unify return type of list_active_domains for python{2,3} + * Mon Jun 22 2015 Lukas Slebodnik - 1.13.0-1.alpha - New upstream release 1.13 alpha - https://fedorahosted.org/sssd/wiki/Releases/Notes-1.13.0alpha