Pull requests

#1 Open
Repository
mchaput mchaput
Branch
default

Added try and except

Bitbucket cannot automatically merge this request due to conflicts.

Review the conflicts on the Overview tab. You can then either decline the request or merge it manually on your local system using the following commands:

hg update default
hg pull -r jigarmistry24/add-try-and-except--1393233726457 https://bitbucket.org/jigarmistry24/whoosh-demo
hg merge jigarmistry24/add-try-and-except--1393233726457
hg commit -m 'Merged in jigarmistry24/whoosh-demo/jigarmistry24/add-try-and-except--1393233726457 (pull request #1)'
Author
  1. Jigar Mistry
Reviewers
Description

Added try and except

Comments (3)

  1. Matt Chaput repo owner

    I'd rather fix invalid characters in the generated file than ignore them. Can you file a bug for the problem you're encountering? Thanks!

  2. Jigar Mistry author

    If i dont use try than it will show error like,

    Traceback (most recent call last): File "scripts/index_python.py", line 65, in <module> filename, timestr, tzstr, revnum = line.strip().split() ValueError: need more than 1 value to unpack

    if use try and except it will work fine in my case i am using python 2.7.5 thanks