Skip to content

Commit

Permalink
Removed unexecutable code path
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Kritikos committed May 12, 2010
1 parent 6ab6111 commit 0b9f435
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions patu.py
Expand Up @@ -188,11 +188,7 @@ def main():
parser.add_option(s, l, **k) parser.add_option(s, l, **k)
(options, args) = parser.parse_args() (options, args) = parser.parse_args()
# Submit first url # Submit first url
try: urls = [unicode(url) for url in args]
urls = [unicode(url) for url in args]
except IndexError:
print "Give the spiders a URL."
sys.exit(1)
kwargs = { kwargs = {
'urls': urls, 'urls': urls,
'spiders': options.spiders, 'spiders': options.spiders,
Expand Down

0 comments on commit 0b9f435

Please sign in to comment.