aboutsummaryrefslogtreecommitdiffstats
path: root/python/examples
diff options
context:
space:
mode:
authorDevendra2014-05-15 12:06:49 +0530
committerDevendra2014-05-15 12:06:49 +0530
commit9dda9200997330b686bdb26495bed1023a1d8f7e (patch)
treed70c56cd2228c061821595bcf9e02ecc261ba34e /python/examples
parentca4b031be0c0964fd1dbfa952f23c5537ca02336 (diff)
downloadpubnub-python-9dda9200997330b686bdb26495bed1023a1d8f7e.tar.bz2
adding sync and async tests for grant and revoke
Diffstat (limited to 'python/examples')
-rw-r--r--python/examples/console.py2
-rw-r--r--python/examples/here-now.py2
-rw-r--r--python/examples/history.py2
-rw-r--r--python/examples/publish.py2
-rw-r--r--python/examples/pubnub-console/pubnub-console2
-rw-r--r--python/examples/subscribe.py2
6 files changed, 6 insertions, 6 deletions
diff --git a/python/examples/console.py b/python/examples/console.py
index 7798340..5d74517 100644
--- a/python/examples/console.py
+++ b/python/examples/console.py
@@ -7,7 +7,7 @@
import sys
-from Pubnub import PubnubAsync as Pubnub
+from Pubnub import Pubnub
import threading
from datetime import datetime
diff --git a/python/examples/here-now.py b/python/examples/here-now.py
index d03a110..9640cc5 100644
--- a/python/examples/here-now.py
+++ b/python/examples/here-now.py
@@ -7,7 +7,7 @@
import sys
-from Pubnub import PubnubAsync as Pubnub
+from Pubnub import Pubnub
publish_key = len(sys.argv) > 1 and sys.argv[1] or 'demo'
subscribe_key = len(sys.argv) > 2 and sys.argv[2] or 'demo'
diff --git a/python/examples/history.py b/python/examples/history.py
index 7f7466b..603a0f8 100644
--- a/python/examples/history.py
+++ b/python/examples/history.py
@@ -7,7 +7,7 @@
import sys
-from Pubnub import PubnubAsync as Pubnub
+from Pubnub import Pubnub
publish_key = len(sys.argv) > 1 and sys.argv[1] or 'demo'
subscribe_key = len(sys.argv) > 2 and sys.argv[2] or 'demo'
diff --git a/python/examples/publish.py b/python/examples/publish.py
index a1b913b..594e7c4 100644
--- a/python/examples/publish.py
+++ b/python/examples/publish.py
@@ -7,7 +7,7 @@
import sys
-from Pubnub import PubnubAsync as Pubnub
+from Pubnub import Pubnub
publish_key = len(sys.argv) > 1 and sys.argv[1] or 'demo'
subscribe_key = len(sys.argv) > 2 and sys.argv[2] or 'demo'
diff --git a/python/examples/pubnub-console/pubnub-console b/python/examples/pubnub-console/pubnub-console
index a12c77f..7276fb9 100644
--- a/python/examples/pubnub-console/pubnub-console
+++ b/python/examples/pubnub-console/pubnub-console
@@ -9,7 +9,7 @@
import sys
-from Pubnub import PubnubAsync as Pubnub
+from Pubnub import Pubnub
import threading
from datetime import datetime
diff --git a/python/examples/subscribe.py b/python/examples/subscribe.py
index 6cf93b1..9b8b223 100644
--- a/python/examples/subscribe.py
+++ b/python/examples/subscribe.py
@@ -7,7 +7,7 @@
import sys
-from Pubnub import PubnubAsync as Pubnub
+from Pubnub import Pubnub
publish_key = len(sys.argv) > 1 and sys.argv[1] or 'demo'
subscribe_key = len(sys.argv) > 2 and sys.argv[2] or 'demo'