diff options
| author | Devendra | 2014-05-22 20:42:40 +0530 | 
|---|---|---|
| committer | Devendra | 2014-05-22 20:42:40 +0530 | 
| commit | 26aca4f6f2c6167d5a83be83d1185c54522834e8 (patch) | |
| tree | b6a6a71c6302c5dfa759aff7b5040a426adfd063 /python | |
| parent | 32492b68b66a46bdbf6736e1ddd16a34dca12b9b (diff) | |
| download | pubnub-python-26aca4f6f2c6167d5a83be83d1185c54522834e8.tar.bz2 | |
removing requirement of adding channel for grant and audit
Diffstat (limited to 'python')
| -rw-r--r-- | python/examples/console.py | 9 | 
1 files changed, 0 insertions, 9 deletions
| diff --git a/python/examples/console.py b/python/examples/console.py index 5d74517..6147d21 100644 --- a/python/examples/console.py +++ b/python/examples/console.py @@ -497,9 +497,6 @@ class DevConsole(Cmd):      def do_grant(self, command, opts):          opts.channel = self.default_channel \              if opts.channel is None else opts.channel -        if opts.channel is None: -            print_error("Missing channel") -            return          opts.auth_key = pubnub.auth_key \              if opts.auth_key is None else opts.auth_key @@ -526,9 +523,6 @@ class DevConsole(Cmd):      def do_revoke(self, command, opts):          opts.channel = self.default_channel \              if opts.channel is None else opts.channel -        if opts.channel is None: -            print_error("Missing channel") -            return          opts.auth_key = pubnub.auth_key \              if opts.auth_key is None else opts.auth_key @@ -549,9 +543,6 @@ class DevConsole(Cmd):      def do_audit(self, command, opts):          opts.channel = self.default_channel \              if opts.channel is None else opts.channel -        if opts.channel is None: -            print_error("Missing channel") -            return          opts.auth_key = pubnub.auth_key \              if opts.auth_key is None else opts.auth_key | 
