summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/libraries/python-trinity/debian/pykdeconfig.py
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-08-13 02:46:03 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-08-13 02:46:03 -0500
commitfa3d546eba520ad6a0676139fa6e2dd550a75200 (patch)
tree85c3ca003e728bb0261832ad5b6f9df58ea9336b /ubuntu/maverick/libraries/python-trinity/debian/pykdeconfig.py
parent9b928d4197b3570e62d187ced814c82859a5736b (diff)
downloadtde-packaging-fa3d546eba520ad6a0676139fa6e2dd550a75200.tar.gz
tde-packaging-fa3d546eba520ad6a0676139fa6e2dd550a75200.zip
Added python packages to Ubuntu Maverick
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 *