From 46a9f87f1a895d4e0c7e64d7b23fe982f20e2e00 Mon Sep 17 00:00:00 2001 From: fpeters Date: Tue, 7 Nov 2006 13:40:34 +0000 Subject: [PATCH] note about qommon, so that people know where to get it git-svn-id: svn://localhost/lasso-conform/trunk@12 2a3a78c3-912c-0410-af21-e1fb2d1df599 --- lcs/__init__.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lcs/__init__.py b/lcs/__init__.py index 2e83e21..0a9f331 100644 --- a/lcs/__init__.py +++ b/lcs/__init__.py @@ -2,7 +2,13 @@ import sys import os sys.path.insert(0, os.path.dirname(__file__)) -import qommon +try: + import qommon +except ImportError: + print >> sys.stderr, 'Failed to import module \'qommon\'' + print >> sys.stderr, ' export CVSROOT=... (for w.c.s., see labs)' + print >> sys.stderr, ' cvs checkout -d lcs/qommon wcs/wcs/qommon' + sys.exit(1) import lasso if not hasattr(lasso, 'SAML2_SUPPORT'):