Advertisement
Guest User

Untitled

a guest
Oct 20th, 2014
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. #!/bin/python
  2.  
  3. import sys
  4. import re
  5.  
  6. if __name__=='__main__':
  7. message_file = sys.argv[1]
  8. message = '\n'.join(open(message_file, 'r').readlines())
  9.  
  10. regex = re.compile(r'^[_\s]+$')
  11.  
  12. if regex.match(message) != None:
  13. print " /\__/\\"
  14. print " /` '\\"
  15. print " === 0 0 === < Damien plz, proper commit msgs <3"
  16. print " \\ -- /"
  17. print " / \\"
  18. print " / \\"
  19. print " | |"
  20. print " \\ || || /"
  21. print " \\_oo__oo_/#######o"
  22. print ""
  23. sys.exit(1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement