diff options
author | Jan Cholasta <jcholast@redhat.com> | 2015-09-01 13:22:04 +0200 |
---|---|---|
committer | Jan Cholasta <jcholast@redhat.com> | 2015-09-17 11:08:43 +0200 |
commit | 33aba6f35e43b5febf1751de4cef2863749f93e7 (patch) | |
tree | f0aef38d28375a2486047b6e72f1cb13c47d7806 /ipaserver/install/plugins/upload_cacrt.py | |
parent | ba5201979dfddcb4ca6bb1b68e786cb964e50bb6 (diff) | |
download | freeipa-33aba6f35e43b5febf1751de4cef2863749f93e7.tar.gz freeipa-33aba6f35e43b5febf1751de4cef2863749f93e7.tar.xz freeipa-33aba6f35e43b5febf1751de4cef2863749f93e7.zip |
Use byte literals where appropriate
Reviewed-By: Petr Viktorin <pviktori@redhat.com>
Diffstat (limited to 'ipaserver/install/plugins/upload_cacrt.py')
-rw-r--r-- | ipaserver/install/plugins/upload_cacrt.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaserver/install/plugins/upload_cacrt.py b/ipaserver/install/plugins/upload_cacrt.py index ddca4baba..dcb7fe747 100644 --- a/ipaserver/install/plugins/upload_cacrt.py +++ b/ipaserver/install/plugins/upload_cacrt.py @@ -87,7 +87,7 @@ class update_upload_cacrt(Updater): entry.single_value['cACertificate;binary'] = ca_cert ldap.add_entry(entry) else: - if '' in entry['cACertificate;binary']: + if b'' in entry['cACertificate;binary']: entry.single_value['cACertificate;binary'] = ca_cert ldap.update_entry(entry) |