summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/libraries/python-trinity/debian/pykdeconfig.py
diff options
context:
space:
mode:
authorRobert Xu <[email protected]>2011-08-13 12:59:24 -0400
committerRobert Xu <[email protected]>2011-08-13 12:59:24 -0400
commitfa41f32b69994ecd75b7359fa2df08ea5a3480ab (patch)
treecd552a63ddfdf016274772c1dfc7edc900b40564 /ubuntu/maverick/libraries/python-trinity/debian/pykdeconfig.py
parent46130378aea5fff80803409c2573e2ea31472cb9 (diff)
parentd280eef1122a1108c734f6530744533d64129343 (diff)
downloadtde-packaging-fa41f32b69994ecd75b7359fa2df08ea5a3480ab.tar.gz
tde-packaging-fa41f32b69994ecd75b7359fa2df08ea5a3480ab.zip
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tde-packaging
Diffstat (limited to 'ubuntu/maverick/libraries/python-trinity/debian/pykdeconfig.py')
-rw-r--r--ubuntu/maverick/libraries/python-trinity/debian/pykdeconfig.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/ubuntu/maverick/libraries/python-trinity/debian/pykdeconfig.py b/ubuntu/maverick/libraries/python-trinity/debian/pykdeconfig.py
new file mode 100644
index 000000000..9e3840afe
--- /dev/null
+++ b/ubuntu/maverick/libraries/python-trinity/debian/pykdeconfig.py
@@ -0,0 +1,11 @@
+# import the sipconfig.py for the normal or the debug build
+
+import sys
+
+if getattr(sys, "pydebug", False):
+ try:
+ from pykdeconfig_d import *
+ except ImportError, msg:
+ raise ImportError, 'No module named pykdeconfig; package python-trinity-dbg not installed'
+else:
+ from pykdeconfig_nd import *