From b64393d096b3b79c4efb98fba0dd8fe0c0fc4304 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Tue, 22 Jan 2008 04:27:33 +0000 Subject: [PATCH] Get some error output when trying to get svn revision. --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 7e2dc9dbc..405f25f8e 100644 --- a/setup.py +++ b/setup.py @@ -55,8 +55,8 @@ try: f = open("deluge/data/revision", "w") f.write(revision_string) f.close() -except: - pass +except Exception, e: + print "Unable to get or write revision: ", e # The libtorrent extension