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
=== modified file 'find-rcbuggy-problem-packages'
--- find-rcbuggy-problem-packages 2019-09-10 21:19:47 +0000
+++ find-rcbuggy-problem-packages 2019-09-11 01:34:31 +0000
@@ -56,10 +56,11 @@
56args = parse_args()56args = parse_args()
5757
58def run_output(*cmd, **extra):58def run_output(*cmd, **extra):
59 kw = dict(check=True, encoding='ascii', stdout=subprocess.PIPE)59 encoding = extra.pop('encoding', 'ascii')
60 kw = dict(check=True, stdout=subprocess.PIPE)
60 kw.update(extra)61 kw.update(extra)
61 cp = subprocess.run(cmd, **kw)62 cp = subprocess.run(cmd, **kw)
62 return cp.stdout.strip()63 return cp.stdout.decode(encoding).strip()
6364
64def extract_uninstallable_to_src_pkg(output_fp):65def extract_uninstallable_to_src_pkg(output_fp):
65 # Extract a mapping from binary package name to the set of source66 # Extract a mapping from binary package name to the set of source

Subscribers

People subscribed via source and target branches