diff options
author | Colin Watson <cjwatson@debian.org> | 2019-08-03 13:27:22 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2019-08-03 13:27:22 +0100 |
commit | c0e57836abe9ef24f07c258198283689b51e3613 (patch) | |
tree | 9e48e1f555652182762b53c17676f6a264f5078c /debian/openssh-client.apport | |
parent | 9e0323ffdc00a48e282b4bd7f0f974665ffe35e1 (diff) |
debian/*.apport: Fix flake8 errors
Diffstat (limited to 'debian/openssh-client.apport')
-rw-r--r-- | debian/openssh-client.apport | 5 |
1 files changed, 3 insertions, 2 deletions
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 ( | |||
16 | command_output, | 16 | command_output, |
17 | ) | 17 | ) |
18 | 18 | ||
19 | |||
19 | def add_info(report, ui): | 20 | def add_info(report, ui): |
20 | response = ui.yesno("The contents of your /etc/ssh/ssh_config file " | 21 | response = ui.yesno("The contents of your /etc/ssh/ssh_config file " |
21 | "may help developers diagnose your bug more " | 22 | "may help developers diagnose your bug more " |
@@ -23,10 +24,10 @@ def add_info(report, ui): | |||
23 | "information. Do you want to include it in your " | 24 | "information. Do you want to include it in your " |
24 | "bug report?") | 25 | "bug report?") |
25 | 26 | ||
26 | if response == None: # user cancelled | 27 | if response == None: # user cancelled |
27 | raise StopIteration | 28 | raise StopIteration |
28 | 29 | ||
29 | elif response == True: | 30 | elif response: |
30 | attach_conffiles(report, 'openssh-client') | 31 | attach_conffiles(report, 'openssh-client') |
31 | 32 | ||
32 | attach_related_packages(report, | 33 | attach_related_packages(report, |