Merge lp:~xnox/apport/fix-cgroup into lp:~apport-hackers/apport/trunk

Proposed by Dimitri John Ledkov
Status: Merged
Merged at revision: 2776
Proposed branch: lp:~xnox/apport/fix-cgroup
Merge into: lp:~apport-hackers/apport/trunk
Diff against target: 15 lines (+2/-2)
1 file modified
apport/report.py (+2/-2)
To merge this branch: bzr merge lp:~xnox/apport/fix-cgroup
Reviewer Review Type Date Requested Status
Martin Pitt (community) Approve
Review via email: mp+212282@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Martin Pitt (pitti) wrote :

Thanks! Merged with a NEWS entry.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'apport/report.py'
--- apport/report.py 2014-01-20 14:41:03 +0000
+++ apport/report.py 2014-03-22 11:41:21 +0000
@@ -1589,9 +1589,9 @@
1589 for l in f:1589 for l in f:
1590 if 'name=systemd:' in l:1590 if 'name=systemd:' in l:
1591 my_cgroup = l.split('systemd:', 1)[1].strip()1591 my_cgroup = l.split('systemd:', 1)[1].strip()
1592 if len(my_cgroup) < 2:
1593 return None
1592 break1594 break
1593 if len(my_cgroup) < 2:
1594 return None
1595 else:1595 else:
1596 return None1596 return None
1597 # determine cgroup creation time1597 # determine cgroup creation time

Subscribers

People subscribed via source and target branches