Skip to content

Commit

Permalink
not supporting python2.4 anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
sandrogauci committed Mar 15, 2016
1 parent 6fa7280 commit bbe6cd7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions wafw00f/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,6 @@ def main():
if options.version:
print('WAFW00F version %s' % __version__)
return

extraheaders = {}
if options.headersfile:
log.info('Getting extra headers from %s' % options.headersfile)
Expand Down Expand Up @@ -447,6 +446,6 @@ def main():


if __name__ == '__main__':
if sys.hexversion < 0x2040000:
sys.stderr.write('Your version of python is way too old .. please update to 2.4 or later\r\n')
if sys.hexversion < 0x2060000:
sys.stderr.write('Your version of python is way too old .. please update to 2.6 or later\r\n')
main()

0 comments on commit bbe6cd7

Please sign in to comment.