admin scripts
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
219 B

  1. #!/usr/bin/env 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