summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/libraries/python-trinity/debian/pytdeconfig.py
diff options
context:
space:
mode:
authorCalvin Morrison <mutantturkey@gmail.com>2011-12-14 15:50:42 -0500
committerCalvin Morrison <mutantturkey@gmail.com>2011-12-14 15:50:42 -0500
commitfc98476aef6bf17768cfc0450bd25ac967d01834 (patch)
tree7411b50fd18336185de9fb8520fd9154822020b4 /ubuntu/maverick/libraries/python-trinity/debian/pytdeconfig.py
parentcc3f13111c121c8a39b9937bb2e1bf00207c9df0 (diff)
parente9bf572672fe20775479a10b426d32379f4185d0 (diff)
downloadtde-packaging-fc98476aef6bf17768cfc0450bd25ac967d01834.tar.gz
tde-packaging-fc98476aef6bf17768cfc0450bd25ac967d01834.zip
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tde-packaging
Diffstat (limited to 'ubuntu/maverick/libraries/python-trinity/debian/pytdeconfig.py')
-rw-r--r--ubuntu/maverick/libraries/python-trinity/debian/pytdeconfig.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/ubuntu/maverick/libraries/python-trinity/debian/pytdeconfig.py b/ubuntu/maverick/libraries/python-trinity/debian/pytdeconfig.py
new file mode 100644
index 000000000..eac264752
--- /dev/null
+++ b/ubuntu/maverick/libraries/python-trinity/debian/pytdeconfig.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 pytdeconfig_d import *
+ except ImportError, msg:
+ raise ImportError, 'No module named pytdeconfig; package python-trinity-dbg not installed'
+else:
+ from pytdeconfig_nd import *