summaryrefslogtreecommitdiffstats
path: root/ubuntu/lucid_automake/libraries/python-kde3/debian/pytdeconfig.py
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-04 16:29:39 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-04 16:29:39 -0600
commitde77ae6a46f8c680b280c3d2a65c40a8da4622cf (patch)
treed5128aa87a098a9cdbef119a9a772a9b88ed3382 /ubuntu/lucid_automake/libraries/python-kde3/debian/pytdeconfig.py
parent32e556c5c8f839339dd8a93d33e4f7a7ce20c1af (diff)
downloadtde-packaging-de77ae6a46f8c680b280c3d2a65c40a8da4622cf.tar.gz
tde-packaging-de77ae6a46f8c680b280c3d2a65c40a8da4622cf.zip
Rename pykde to pytde in Ubuntu and Debian
Diffstat (limited to 'ubuntu/lucid_automake/libraries/python-kde3/debian/pytdeconfig.py')
-rw-r--r--ubuntu/lucid_automake/libraries/python-kde3/debian/pytdeconfig.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/ubuntu/lucid_automake/libraries/python-kde3/debian/pytdeconfig.py b/ubuntu/lucid_automake/libraries/python-kde3/debian/pytdeconfig.py
new file mode 100644
index 000000000..baab0b1cf
--- /dev/null
+++ b/ubuntu/lucid_automake/libraries/python-kde3/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-kde3-dbg not installed'
+else:
+ from pytdeconfig_nd import *