Fix error message on file not found for txt2lrf

This commit is contained in:
Kovid Goyal 2007-06-19 15:56:35 +00:00
parent f5d53e6d33
commit 3526d3d28c
2 changed files with 2 additions and 4 deletions

View File

@ -13,7 +13,7 @@
## with this program; if not, write to the Free Software Foundation, Inc., ## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
''' E-book management software''' ''' E-book management software'''
__version__ = "0.3.53" __version__ = "0.3.54"
__docformat__ = "epytext" __docformat__ = "epytext"
__author__ = "Kovid Goyal <kovid@kovidgoyal.net>" __author__ = "Kovid Goyal <kovid@kovidgoyal.net>"
__appname__ = 'libprs500' __appname__ = 'libprs500'

View File

@ -107,9 +107,7 @@ def main():
import warnings import warnings
warnings.defaultaction = 'error' warnings.defaultaction = 'error'
except Exception, err: except Exception, err:
print >> sys.stderr, err print >> sys.stderr, err
import traceback
traceback.print_exc()
sys.exit(1) sys.exit(1)
process_file(src, options) process_file(src, options)