From af0d569afd9ad29a34631360e9968624695e34b3 Mon Sep 17 00:00:00 2001 From: lethosor Date: Sat, 29 Dec 2018 00:15:45 -0500 Subject: [PATCH] check-rpc: add -> append --- travis/check-rpc.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/travis/check-rpc.py b/travis/check-rpc.py index 7b771ee67..ecddafa9f 100644 --- a/travis/check-rpc.py +++ b/travis/check-rpc.py @@ -67,9 +67,9 @@ for plugin_name in actual: io = methods[m] if m in expected[plugin_name]: if expected[plugin_name][m] != io: - wrong.add('// RPC ' + m + ' : ' + io[0] + ' -> ' + io[1]) + wrong.append('// RPC ' + m + ' : ' + io[0] + ' -> ' + io[1]) else: - missing.add('// RPC ' + m + ' : ' + io[0] + ' -> ' + io[1]) + missing.append('// RPC ' + m + ' : ' + io[0] + ' -> ' + io[1]) if len(missing) > 0: print('Incomplete documentation for ' + ('core' if plugin_name == '' else 'plugin "' + plugin_name + '"') + ' proto files. Add the following lines:') @@ -98,7 +98,7 @@ for plugin_name in expected: for m in methods: io = methods[m] if m not in actual[plugin_name]: - missing.add('// RPC ' + m + ' : ' + io[0] + ' -> ' + io[1]) + missing.append('// RPC ' + m + ' : ' + io[0] + ' -> ' + io[1]) if len(missing) > 0: print('Incorrect documentation for ' + ('core' if plugin_name == '' else 'plugin "' + plugin_name + '"') + ' proto files. Remove the following lines:')