summaryrefslogtreecommitdiff
path: root/python/bad__init__.py
diff options
context:
space:
mode:
authorPerberos <[email protected]>2011-12-01 21:42:39 -0300
committerPerberos <[email protected]>2011-12-01 21:42:39 -0300
commitfe8aea1c3b5348347633da18a02b0bffd3b266a1 (patch)
tree9881bf77df7572844707cc7c50bd8ca6b5a97076 /python/bad__init__.py
downloadlibmateweather-fe8aea1c3b5348347633da18a02b0bffd3b266a1.tar.bz2
libmateweather-fe8aea1c3b5348347633da18a02b0bffd3b266a1.tar.xz
moving from https://github.com/perberos/mate-desktop-environment
Diffstat (limited to 'python/bad__init__.py')
-rw-r--r--python/bad__init__.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/python/bad__init__.py b/python/bad__init__.py
new file mode 100644
index 0000000..11a6970
--- /dev/null
+++ b/python/bad__init__.py
@@ -0,0 +1,11 @@
+# The correct idiom is
+# from mateweather.I_KNOW_THIS_IS_UNSTABLE import mateweather
+
+def location_new_world(use_regions):
+ raise ImportError("libmateweather should only be used if you understand that it's subject to change, and is not supported as a fixed API/ABI or as part of the platform")
+
+def location_entry_new(top):
+ raise ImportError("libmateweather should only be used if you understand that it's subject to change, and is not supported as a fixed API/ABI or as part of the platform")
+
+def timezone_menu_new(top):
+ raise ImportError("libmateweather should only be used if you understand that it's subject to change, and is not supported as a fixed API/ABI or as part of the platform")