aboutsummaryrefslogtreecommitdiffstats
path: root/packaging-tools/send_header_diff_kmail.py
diff options
context:
space:
mode:
authorPatrik Teivonen <patrik.teivonen@qt.io>2022-07-04 17:23:23 +0300
committerPatrik Teivonen <patrik.teivonen@qt.io>2022-09-08 22:10:37 +0000
commitdce4c6f68c8753d634a7f9ab55426b560bc0763d (patch)
tree39fa2fca3f65916a34e0e03fb685bc1b7227d8ac /packaging-tools/send_header_diff_kmail.py
parentf3a0c80282116f5bdb85865a4db057403faa2245 (diff)
pylint: Add checking for PEP8 naming style conventions (C0103)
Enable checking for invalid-name C0103 in pylint. Change all remaining names to be PEP8 compliant. Ignore false positive constants. Note: patch renames some python modules Change-Id: I6ddd338e3ed260280e5fd9b356406603b8cc3ccc Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
Diffstat (limited to 'packaging-tools/send_header_diff_kmail.py')
-rwxr-xr-xpackaging-tools/send_header_diff_kmail.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/packaging-tools/send_header_diff_kmail.py b/packaging-tools/send_header_diff_kmail.py
index 23ddf6a9e..d13db00f2 100755
--- a/packaging-tools/send_header_diff_kmail.py
+++ b/packaging-tools/send_header_diff_kmail.py
@@ -65,10 +65,10 @@ def send_headers(version, message_id, simulate):
for diff in os.listdir('.'):
if diff.endswith('.diff'):
print(f'Sending: {diff}')
- s = subject + diff
- h1 = 'In-Reply-To:<' + message_id + '>'
- h2 = 'References:<' + message_id + '>'
- args = ['kmail', '--subject', s, '--attach', diff, '--header', h1, '--header', h2, receiver]
+ subj = subject + diff
+ head1 = 'In-Reply-To:<' + message_id + '>'
+ head2 = 'References:<' + message_id + '>'
+ args = ['kmail', '--subject', subj, '--attach', diff, '--header', head1, '--header', head2, receiver]
if simulate:
print("Simulate:", " ".join(args))
else: