From 1d97c69f186719fe007a4fa0033d39d9a68a4e43 Mon Sep 17 00:00:00 2001 From: Devendra Date: Wed, 23 Apr 2014 14:13:37 +0530 Subject: modifying dev console to use new style classes --- python/examples/dev-console.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'python') 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' -- cgit v1.2.3