diff options
| author | Devendra | 2014-04-23 14:13:37 +0530 | 
|---|---|---|
| committer | Devendra | 2014-04-23 14:13:37 +0530 | 
| commit | 1d97c69f186719fe007a4fa0033d39d9a68a4e43 (patch) | |
| tree | 89f6b4762c03c8999684cc332ceb58f92e80c564 /python/examples/dev-console.py | |
| parent | 09cd0c015ae276aa849297a6a976065b2b3f247b (diff) | |
| download | pubnub-python-1d97c69f186719fe007a4fa0033d39d9a68a4e43.tar.bz2 | |
modifying dev console to use new style classes
Diffstat (limited to 'python/examples/dev-console.py')
| -rwxr-xr-x | python/examples/dev-console.py | 16 | 
1 files changed, 8 insertions, 8 deletions
| diff --git a/python/examples/dev-console.py b/python/examples/dev-console.py index 7814cef..2e93c7e 100755 --- a/python/examples/dev-console.py +++ b/python/examples/dev-console.py @@ -55,17 +55,17 @@ parser.add_option("--uuid",  print(options) -pubnub = Pubnub(options.publish_key, -                options.subscribe_key, -                options.secret_key, -                options.cipher_key, -                options.auth_key, -                options.ssl, -                options.origin, +pubnub = Pubnub(options.publish_key,  +                options.subscribe_key,  +                options.secret_key,  +                options.cipher_key,  +                options.auth_key,  +                options.ssl,  +                options.origin,                   options.uuid) -class color: +class color(object):      PURPLE = '\033[95m'      CYAN = '\033[96m'      DARKCYAN = '\033[36m' | 
