diff options
Diffstat (limited to 'python-twisted')
| -rw-r--r-- | python-twisted/examples/here-now-example.py | 2 | ||||
| -rw-r--r-- | python-twisted/examples/history-example.py | 2 | ||||
| -rw-r--r-- | python-twisted/examples/publish-example.py | 2 | ||||
| -rw-r--r-- | python-twisted/examples/subscribe-example.py | 2 | ||||
| -rw-r--r-- | python-twisted/examples/uuid-example.py | 2 | ||||
| -rw-r--r-- | python-twisted/tests/benchmark.py | 2 | ||||
| -rw-r--r-- | python-twisted/tests/delivery.py | 2 | ||||
| -rwxr-xr-x | python-twisted/tests/subscribe-test.py | 2 | ||||
| -rw-r--r-- | python-twisted/tests/unit-test-full.py | 2 | ||||
| -rw-r--r-- | python-twisted/tests/unit-tests.py | 2 | 
10 files changed, 10 insertions, 10 deletions
| 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 diff --git a/python-twisted/tests/benchmark.py b/python-twisted/tests/benchmark.py index 0e7b809..b6477c0 100644 --- a/python-twisted/tests/benchmark.py +++ b/python-twisted/tests/benchmark.py @@ -12,7 +12,7 @@  import sys  import datetime  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/tests/delivery.py b/python-twisted/tests/delivery.py index d36e895..30ce55f 100644 --- a/python-twisted/tests/delivery.py +++ b/python-twisted/tests/delivery.py @@ -14,7 +14,7 @@ import datetime  import time  import math -from Pubnub import Pubnub +from Pubnub import PubnubTwisted as Pubnub  ## -----------------------------------------------------------------------  ## Configuration diff --git a/python-twisted/tests/subscribe-test.py b/python-twisted/tests/subscribe-test.py index aca63ba..ba74992 100755 --- a/python-twisted/tests/subscribe-test.py +++ b/python-twisted/tests/subscribe-test.py @@ -11,7 +11,7 @@  import sys  import datetime -from Pubnub import Pubnub +from Pubnub import PubnubTwisted as Pubnub  from functools import partial  from threading import current_thread  import threading diff --git a/python-twisted/tests/unit-test-full.py b/python-twisted/tests/unit-test-full.py index 374772f..3aecf12 100644 --- a/python-twisted/tests/unit-test-full.py +++ b/python-twisted/tests/unit-test-full.py @@ -18,7 +18,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/tests/unit-tests.py b/python-twisted/tests/unit-tests.py index 169e1f1..70c373b 100644 --- a/python-twisted/tests/unit-tests.py +++ b/python-twisted/tests/unit-tests.py @@ -4,7 +4,7 @@ import time  from PubnubUnitTest import Suite -from Pubnub import Pubnub +from Pubnub import PubnubTwisted as Pubnub  pubnub = Pubnub("demo", "demo") | 
