Merge lp:~mwhudson/ubuntu-archive-scripts/rcbuggy-3.5 into lp:ubuntu-archive-scripts

Proposed by Michael Hudson-Doyle
Status: Merged
Merged at revision: 244
Proposed branch: lp:~mwhudson/ubuntu-archive-scripts/rcbuggy-3.5
Merge into: lp:ubuntu-archive-scripts
Diff against target: 17 lines (+3/-2)
1 file modified
find-rcbuggy-problem-packages (+3/-2)
To merge this branch: bzr merge lp:~mwhudson/ubuntu-archive-scripts/rcbuggy-3.5
Reviewer Review Type Date Requested Status
Ubuntu Package Archive Administrators Pending
Review via email: mp+372573@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'find-rcbuggy-problem-packages'
2--- find-rcbuggy-problem-packages 2019-09-10 21:19:47 +0000
3+++ find-rcbuggy-problem-packages 2019-09-11 01:34:31 +0000
4@@ -56,10 +56,11 @@
5 args = parse_args()
6
7 def run_output(*cmd, **extra):
8- kw = dict(check=True, encoding='ascii', stdout=subprocess.PIPE)
9+ encoding = extra.pop('encoding', 'ascii')
10+ kw = dict(check=True, stdout=subprocess.PIPE)
11 kw.update(extra)
12 cp = subprocess.run(cmd, **kw)
13- return cp.stdout.strip()
14+ return cp.stdout.decode(encoding).strip()
15
16 def extract_uninstallable_to_src_pkg(output_fp):
17 # Extract a mapping from binary package name to the set of source

Subscribers

People subscribed via source and target branches