From: zooko Date: Fri, 9 Nov 2007 19:00:47 +0000 (+0530) Subject: zfec: setup: don't spew a traceback if darcsver isn't installed X-Git-Url: https://git.rkrishnan.org/pf/content/en/seg/biz/status?a=commitdiff_plain;h=7c73217f6dc53e17e788832dbfb789c30167ceb9;p=tahoe-lafs%2Fzfec.git zfec: setup: don't spew a traceback if darcsver isn't installed darcs-hash:e40112248796b61fcd0b2463b3ada88ca22885c2 --- diff --git a/zfec/setup.py b/zfec/setup.py index 50210ca..42b39a7 100755 --- a/zfec/setup.py +++ b/zfec/setup.py @@ -79,7 +79,8 @@ trove_classifiers=[ try: import os - os.system("darcsver") + (cin, cout, cerr,) = os.popen3("darcsver") + print cout.read() except Exception, le: pass import re