From c98286f500b77dcf426367df0b688f536b77ea9b Mon Sep 17 00:00:00 2001 From: Devendra Date: Thu, 24 Apr 2014 01:33:45 +0530 Subject: fixing imports --- python-twisted/examples/here-now-example.py | 2 +- python-twisted/examples/history-example.py | 2 +- python-twisted/examples/publish-example.py | 2 +- python-twisted/examples/subscribe-example.py | 2 +- python-twisted/examples/uuid-example.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'python-twisted/examples') diff --git a/python-twisted/examples/here-now-example.py b/python-twisted/examples/here-now-example.py index 0f34f36..4b2965b 100644 --- a/python-twisted/examples/here-now-example.py +++ b/python-twisted/examples/here-now-example.py @@ -10,7 +10,7 @@ ## ----------------------------------- import sys -from Pubnub import Pubnub +from Pubnub import PubnubTwisted as 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-twisted/examples/history-example.py b/python-twisted/examples/history-example.py index 72c7445..f867a36 100644 --- a/python-twisted/examples/history-example.py +++ b/python-twisted/examples/history-example.py @@ -11,7 +11,7 @@ import sys from twisted.internet import reactor -from Pubnub import Pubnub +from Pubnub import PubnubTwisted as 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-twisted/examples/publish-example.py b/python-twisted/examples/publish-example.py index 5d6cc29..d5af6a5 100644 --- a/python-twisted/examples/publish-example.py +++ b/python-twisted/examples/publish-example.py @@ -11,7 +11,7 @@ import sys from twisted.internet import reactor -from Pubnub import Pubnub +from Pubnub import PubnubTwisted as 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-twisted/examples/subscribe-example.py b/python-twisted/examples/subscribe-example.py index b261b0d..3bca615 100644 --- a/python-twisted/examples/subscribe-example.py +++ b/python-twisted/examples/subscribe-example.py @@ -11,7 +11,7 @@ import sys from twisted.internet import reactor -from Pubnub import Pubnub +from Pubnub import PubnubTwisted as 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-twisted/examples/uuid-example.py b/python-twisted/examples/uuid-example.py index 840f48c..a745088 100644 --- a/python-twisted/examples/uuid-example.py +++ b/python-twisted/examples/uuid-example.py @@ -11,7 +11,7 @@ import sys from twisted.internet import reactor -from Pubnub import Pubnub +from Pubnub import PubnubTwisted as Pubnub ## ----------------------------------------------------------------------- ## Initiate Pubnub State -- cgit v1.2.3