Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python
- import subprocess
- archivos = subprocess.check_output(["git", "diff", "HEAD^", "HEAD", "--name-only"])
- try:
- print subprocess.check_output("grep -nHe console " + archivos.replace('\n', ' '), stderr=subprocess.STDOUT, shell=True)
- except Exception, e:
- print
Add Comment
Please, Sign In to add comment