Removing old shutils script and adding new one

This commit is contained in:
Miroslav Stampar 2012-12-10 17:44:55 +01:00
parent d013644c65
commit 6ec536e94d
2 changed files with 7 additions and 8 deletions

View File

@ -1,8 +0,0 @@
#!/bin/bash
# Copyright (c) 2006-2012 sqlmap developers (http://www.sqlmap.org/)
# See the file 'doc/COPYING' for copying permission
# Adds SVN property 'Id' to project files
find ../../. -type f -iname "*.py" -exec sed -i s/\$Id.*$/\$Id\$/g '{}' \;
find ../../. -type f -iname "*.py" -exec svn propset svn:keywords "Id" '{}' \;

7
extra/shutils/pyflakes.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
# Copyright (c) 2006-2012 sqlmap developers (http://www.sqlmap.org/)
# See the file 'doc/COPYING' for copying permission
# Runs pyflakes on all python files
find . -wholename "./thirdparty" -prune -o -type f -iname "*.py" -exec pyflakes '{}' \;