LockerProject/lockerbox — pull request #3 by msilvey (2011-10-28 06:18:30+00:00)
Title: changed check_for logic to handle invalid version strings

this chunk: version="$($3 2>&1 | grep -o -E [-0-9.]\{1,\} | head -n 1)"
can return things like '.'
the python tuple check chokes on that. added a quick if/else to check the data.