-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathupdateManager2304.patch
32 lines (32 loc) · 1.1 KB
/
updateManager2304.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
44c44
< from uaclient.api.u.pro.packages.updates.v1 import updates
---
> #from uaclient.api.u.pro.packages.updates.v1 import updates
278,288c278,288
< def _get_ua_security_status(self):
< self.ua_security_packages = []
< try:
< update_result = updates()
< except (IOError, OSError):
< return
< for info in update_result.updates:
< if info.status == "pending_attach":
< self.ua_security_packages.append(
< (info.package, info.version, info.download_size)
< )
---
> #def _get_ua_security_status(self):
> # self.ua_security_packages = []
> # try:
> # update_result = updates()
> # except (IOError, OSError):
> # return
> # for info in update_result.updates:
> # if info.status == "pending_attach":
> # self.ua_security_packages.append(
> # (info.package, info.version, info.download_size)
> # )
459c459
< self._get_ua_security_status()
---
> #self._get_ua_security_status()