Permalink
Browse files

Removed unexecutable code path

  • Loading branch information...
1 parent 6ab6111 commit 0b9f4353eddb4d56edf350cb6e8921d04e64708c Alex Kritikos committed May 12, 2010
Showing with 1 addition and 5 deletions.
  1. +1 −5 patu.py
View
@@ -188,11 +188,7 @@ def main():
parser.add_option(s, l, **k)
(options, args) = parser.parse_args()
# Submit first url
- try:
- urls = [unicode(url) for url in args]
- except IndexError:
- print "Give the spiders a URL."
- sys.exit(1)
+ urls = [unicode(url) for url in args]
kwargs = {
'urls': urls,
'spiders': options.spiders,

0 comments on commit 0b9f435

Please sign in to comment.