diff --git a/extra/shutils/id.sh b/extra/shutils/id.sh deleted file mode 100755 index dfae9c027..000000000 --- a/extra/shutils/id.sh +++ /dev/null @@ -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" '{}' \; diff --git a/extra/shutils/pyflakes.sh b/extra/shutils/pyflakes.sh new file mode 100755 index 000000000..e73ede92f --- /dev/null +++ b/extra/shutils/pyflakes.sh @@ -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 '{}' \;