summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick_automake/libraries/python-kde3/debian/pykdeconfig.py
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-07-10 16:17:43 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-07-10 16:17:43 -0500
commit9b2075d9b89fc628c447fbb98f43ef72e4a9c81d (patch)
tree2de9e866f064b1c7d36df24de1df305474f949fe /ubuntu/maverick_automake/libraries/python-kde3/debian/pykdeconfig.py
downloadtde-packaging-9b2075d9b89fc628c447fbb98f43ef72e4a9c81d.tar.gz
tde-packaging-9b2075d9b89fc628c447fbb98f43ef72e4a9c81d.zip
Initial import from old SVN repository
Note that only the Debian and Ubuntu folders were preserved
Diffstat (limited to 'ubuntu/maverick_automake/libraries/python-kde3/debian/pykdeconfig.py')
-rw-r--r--ubuntu/maverick_automake/libraries/python-kde3/debian/pykdeconfig.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/ubuntu/maverick_automake/libraries/python-kde3/debian/pykdeconfig.py b/ubuntu/maverick_automake/libraries/python-kde3/debian/pykdeconfig.py
new file mode 100644
index 000000000..b6c29318e
--- /dev/null
+++ b/ubuntu/maverick_automake/libraries/python-kde3/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-kde3-dbg not installed'
+else:
+ from pykdeconfig_nd import *