From c0e57836abe9ef24f07c258198283689b51e3613 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Sat, 3 Aug 2019 13:27:22 +0100 Subject: debian/*.apport: Fix flake8 errors --- debian/openssh-client.apport | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'debian/openssh-client.apport') diff --git a/debian/openssh-client.apport b/debian/openssh-client.apport index 8b09bb6c0..e10ca2f0c 100644 --- a/debian/openssh-client.apport +++ b/debian/openssh-client.apport @@ -16,6 +16,7 @@ from apport.hookutils import ( command_output, ) + def add_info(report, ui): response = ui.yesno("The contents of your /etc/ssh/ssh_config file " "may help developers diagnose your bug more " @@ -23,10 +24,10 @@ def add_info(report, ui): "information. Do you want to include it in your " "bug report?") - if response == None: # user cancelled + if response == None: # user cancelled raise StopIteration - elif response == True: + elif response: attach_conffiles(report, 'openssh-client') attach_related_packages(report, -- cgit v1.2.3