From 6d1097f1e2b741c01a577fdef3f271d3e5261b8d Mon Sep 17 00:00:00 2001
From: Dimitur Kirov <dkirov@gmail.com>
Date: Wed, 11 Oct 2006 18:27:55 +0000
Subject: [PATCH] add a note to svn users

---
 src/common/gajim.py | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/common/gajim.py b/src/common/gajim.py
index 82e125e93b..54fcd3ac1b 100644
--- a/src/common/gajim.py
+++ b/src/common/gajim.py
@@ -25,7 +25,13 @@ import config
 from contacts import Contacts
 from events import Events
 
-import defs
+try:
+	import defs
+except ImportError:
+	print >> sys.stderr, '''defs.py is missing!
+If you start gajim from svn, do:
+$ sh autogen.sh'''
+	sys.exit(1)
 
 interface = None # The actual interface (the gtk one for the moment)
 config = config.Config()
-- 
GitLab