From 7c73217f6dc53e17e788832dbfb789c30167ceb9 Mon Sep 17 00:00:00 2001 From: zooko <zooko@zooko.com> Date: Sat, 10 Nov 2007 00:30:47 +0530 Subject: [PATCH] zfec: setup: don't spew a traceback if darcsver isn't installed darcs-hash:e40112248796b61fcd0b2463b3ada88ca22885c2 --- zfec/setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.45.2