diff options
author | Florent Le Coz <louiz@louiz.org> | 2014-07-24 01:57:20 +0200 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2014-07-24 01:57:20 +0200 |
commit | 2e571ac95089f15df7eee8f29d519f2bef425d4d (patch) | |
tree | e3466d12438f1741cf9c0278dfef91fafd7fb91e /slixmpp/plugins/google/__init__.py | |
parent | 6c15d651078931c56f1f205c801a7558293960b0 (diff) | |
download | slixmpp-2e571ac95089f15df7eee8f29d519f2bef425d4d.tar.gz slixmpp-2e571ac95089f15df7eee8f29d519f2bef425d4d.tar.bz2 slixmpp-2e571ac95089f15df7eee8f29d519f2bef425d4d.tar.xz slixmpp-2e571ac95089f15df7eee8f29d519f2bef425d4d.zip |
Remove all the google stuf
Diffstat (limited to 'slixmpp/plugins/google/__init__.py')
-rw-r--r-- | slixmpp/plugins/google/__init__.py | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/slixmpp/plugins/google/__init__.py b/slixmpp/plugins/google/__init__.py deleted file mode 100644 index 443bce35..00000000 --- a/slixmpp/plugins/google/__init__.py +++ /dev/null @@ -1,47 +0,0 @@ -""" - Slixmpp: The Slick XMPP Library - Copyright (C) 2013 Nathanael C. Fritz, Lance J.T. Stout - This file is part of Slixmpp. - - See the file LICENSE for copying permission. -""" - -from slixmpp.plugins.base import register_plugin, BasePlugin - -from slixmpp.plugins.google.gmail import Gmail -from slixmpp.plugins.google.auth import GoogleAuth -from slixmpp.plugins.google.settings import GoogleSettings -from slixmpp.plugins.google.nosave import GoogleNoSave - - -class Google(BasePlugin): - - """ - Google: Custom GTalk Features - - Also see: <https://developers.google.com/talk/jep_extensions/extensions> - """ - - name = 'google' - description = 'Google: Custom GTalk Features' - dependencies = set([ - 'gmail', - 'google_settings', - 'google_nosave', - 'google_auth' - ]) - - def __getitem__(self, attr): - if attr in ('settings', 'nosave', 'auth'): - return self.xmpp['google_%s' % attr] - elif attr == 'gmail': - return self.xmpp['gmail'] - else: - raise KeyError(attr) - - -register_plugin(Gmail) -register_plugin(GoogleAuth) -register_plugin(GoogleSettings) -register_plugin(GoogleNoSave) -register_plugin(Google) |