Browse Source

Include add/remove info in ping script output

People periodically ask about how to be added or removed from the
Oslo courtesy ping list. When generating the list, include a brief
informational message that explains this.

Change-Id: Ie6d600adfea42236b04e58a06854df162f18352e
Ben Nemec 3 weeks ago
parent
commit
a80ab52615
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      ping_me.py

+ 6
- 0
ping_me.py View File

@@ -29,6 +29,11 @@ NOTIFY_PEPS = [
29 29
 ]
30 30
 NOTIFY_PEPS = sorted(NOTIFY_PEPS, key=str.lower)
31 31
 NUM_PER_LINE = 7
32
+INFO_MESSAGE = ('To be added or removed from the ping list, please submit a '
33
+                'patch to '
34
+                'http://git.openstack.org/cgit/openstack/oslo.tools/tree/'
35
+                'ping_me.py\n'
36
+                )
32 37
 
33 38
 
34 39
 def main():
@@ -49,6 +54,7 @@ def main():
49 54
                 sys.stdout.write(", ")
50 55
     if num_in_line:
51 56
         sys.stdout.write("\n")
57
+    sys.stdout.write(INFO_MESSAGE)
52 58
 
53 59
 
54 60
 if __name__ == '__main__':

Loading…
Cancel
Save