Redbrick User management tool
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
247 B

  1. #!/usr/bin/python
  2. import sys
  3. for i in sys.stdin:
  4. i = i.rstrip()
  5. if i.startswith("yearsPaid:"):
  6. print("yearsPaid:", int(i.split()[1]) - 1)
  7. elif i.startswith("newbie:"):
  8. print("newbie: FALSE")
  9. else:
  10. print(i)