aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorDevendra2014-04-23 14:13:37 +0530
committerDevendra2014-04-23 14:13:37 +0530
commit1d97c69f186719fe007a4fa0033d39d9a68a4e43 (patch)
tree89f6b4762c03c8999684cc332ceb58f92e80c564 /python
parent09cd0c015ae276aa849297a6a976065b2b3f247b (diff)
downloadpubnub-python-1d97c69f186719fe007a4fa0033d39d9a68a4e43.tar.bz2
modifying dev console to use new style classes
Diffstat (limited to 'python')
-rwxr-xr-xpython/examples/dev-console.py16
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'