Univention Bugzilla – Attachment 8427 Details for
Bug 43550
UMC AppCenter uses univention.uldap instead of univention.admin.uldap
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
43550.patch (text/plain), 1.86 KB, created by
Florian Best
on 2017-02-15 17:05:06 CET
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Florian Best
Created:
2017-02-15 17:05:06 CET
Size:
1.86 KB
patch
obsolete
>diff --git a/management/univention-appcenter/umc/python/appcenter/app_center.py b/management/univention-appcenter/umc/python/appcenter/app_center.py >index abdacc7..b55ded6 100644 >--- a/management/univention-appcenter/umc/python/appcenter/app_center.py >+++ b/management/univention-appcenter/umc/python/appcenter/app_center.py >@@ -111,7 +111,7 @@ def reload(self, force=False): > # last time we checked, no uuid was found > # but maybe the user installed a new license? > try: >- lo = get_machine_connection(write=False)[0].lo >+ lo = get_machine_connection(write=False)[0] > data = lo.search('objectClass=univentionLicense') > self._uuid = data[0][1]['univentionLicenseKeyID'][0] > except Exception as e: >@@ -954,7 +954,6 @@ def should_show_up_in_app_center(self, package_manager, domainwide_managed=None) > > @machine_connection(write=False, loarg='lo', poarg='pos') > def get_installations(self, hosts=None, lo=None, pos=None): >- lo = lo.lo > try: > ret = {} > try: >@@ -1639,7 +1638,6 @@ def install_master_packages_on_host(self, package_manager, function, host, usern > > @machine_connection(write=False, loarg='lo', poarg='pos') > def find_all_hosts(self, is_master, lo=None, pos=None): >- lo = lo.lo > hosts = [] > if not is_master: > hosts.append((get_master(lo), True)) >diff --git a/management/univention-appcenter/umc/python/appcenter/util.py b/management/univention-appcenter/umc/python/appcenter/util.py >index b1f22bc..5f47a6d 100644 >--- a/management/univention-appcenter/umc/python/appcenter/util.py >+++ b/management/univention-appcenter/umc/python/appcenter/util.py >@@ -118,7 +118,6 @@ def get_all_hosts(lo=None, ucr=None): > lo = get_machine_connection(write=False)[0] > if lo is None: > return [] >- lo = lo.lo > return get_hosts(domaincontroller_master, lo, ucr) + \ > get_hosts(domaincontroller_backup, lo, ucr) + \ > get_hosts(domaincontroller_slave, lo, ucr) + \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 43550
: 8427