summaryrefslogtreecommitdiffstats
path: root/khashmir
diff options
context:
space:
mode:
authorJeffrey C. Ollie <jeff@ocjtech.us>2008-08-19 19:34:21 -0500
committerJeffrey C. Ollie <jeff@ocjtech.us>2008-08-19 19:34:21 -0500
commitcfc058e6ecd9d7e132d5ccf4600ead1f0641ddc9 (patch)
tree5d9d4756703d8e640a60188abd818b74d5e0cca9 /khashmir
parentad0fe53806ab5da2ead4a790af22f47e4ea2e713 (diff)
downloadnohgooee-cfc058e6ecd9d7e132d5ccf4600ead1f0641ddc9.tar.gz
nohgooee-cfc058e6ecd9d7e132d5ccf4600ead1f0641ddc9.tar.xz
nohgooee-cfc058e6ecd9d7e132d5ccf4600ead1f0641ddc9.zip
Some renames.
Diffstat (limited to 'khashmir')
-rw-r--r--khashmir/KRateLimiter.py4
-rw-r--r--khashmir/actions.py2
-rw-r--r--khashmir/cache.py2
-rw-r--r--khashmir/inserter.py4
-rw-r--r--khashmir/khashmir.py10
-rw-r--r--khashmir/knode.py2
-rw-r--r--khashmir/krpc.py8
-rw-r--r--khashmir/kstore.py2
-rw-r--r--khashmir/ktable.py2
-rw-r--r--khashmir/node.py2
-rw-r--r--khashmir/test_khashmir.py2
-rw-r--r--khashmir/test_krpc.py2
-rw-r--r--khashmir/test_kstore.py2
-rw-r--r--khashmir/unet.py4
14 files changed, 24 insertions, 24 deletions
diff --git a/khashmir/KRateLimiter.py b/khashmir/KRateLimiter.py
index a9a9cdc..0b7bb7f 100644
--- a/khashmir/KRateLimiter.py
+++ b/khashmir/KRateLimiter.py
@@ -8,8 +8,8 @@
# for the specific language governing rights and limitations under the
# License.
-from BitTorrent.platform import bttime as time
-from BitTorrent.CurrentRateMeasure import Measure
+from NohGooee.platform import bttime as time
+from NohGooee.CurrentRateMeasure import Measure
from const import *
from random import randrange, shuffle
from traceback import print_exc
diff --git a/khashmir/actions.py b/khashmir/actions.py
index 2bbe94b..97ca949 100644
--- a/khashmir/actions.py
+++ b/khashmir/actions.py
@@ -8,7 +8,7 @@
# for the specific language governing rights and limitations under the
# License.
-from BitTorrent.platform import bttime as time
+from NohGooee.platform import bttime as time
import const
diff --git a/khashmir/cache.py b/khashmir/cache.py
index ab4df30..e38fc71 100644
--- a/khashmir/cache.py
+++ b/khashmir/cache.py
@@ -8,7 +8,7 @@
# for the specific language governing rights and limitations under the
# License.
-from BitTorrent.platform import bttime as time
+from NohGooee.platform import bttime as time
class Cache:
def __init__(self, touch_on_access = False):
diff --git a/khashmir/inserter.py b/khashmir/inserter.py
index d45ff04..f3ade91 100644
--- a/khashmir/inserter.py
+++ b/khashmir/inserter.py
@@ -12,8 +12,8 @@
usage = "usage: inserter.py <contact host> <contact port>"
from utkhashmir import UTKhashmir
-from BitTorrent.RawServer_magic import RawServer
-from BitTorrent.defaultargs import common_options, rare_options
+from NohGooee.RawServer_magic import RawServer
+from NohGooee.defaultargs import common_options, rare_options
from khashmir.khash import newID
from random import randrange
from threading import Event
diff --git a/khashmir/khashmir.py b/khashmir/khashmir.py
index d939f67..23ee305 100644
--- a/khashmir/khashmir.py
+++ b/khashmir/khashmir.py
@@ -11,12 +11,12 @@
import const
from socket import gethostbyname
-from BitTorrent.platform import bttime as time
+from NohGooee.platform import bttime as time
from sha import sha
import re
-from BitTorrent.defaultargs import common_options, rare_options
-from BitTorrent.RawServer_magic import RawServer
+from NohGooee.defaultargs import common_options, rare_options
+from NohGooee.RawServer_magic import RawServer
from ktable import KTable, K
from knode import *
@@ -31,9 +31,9 @@ import sys
import os
import traceback
-from BitTorrent.bencode import bencode, bdecode
+from NohGooee.bencode import bencode, bdecode
-from BitTorrent.defer import Deferred
+from NohGooee.defer import Deferred
from random import randrange
from kstore import sample
diff --git a/khashmir/knode.py b/khashmir/knode.py
index 560252a..3a85265 100644
--- a/khashmir/knode.py
+++ b/khashmir/knode.py
@@ -9,7 +9,7 @@
# License.
from node import Node
-from BitTorrent.defer import Deferred
+from NohGooee.defer import Deferred
from const import NULL_ID
from krpc import KRPCProtocolError
diff --git a/khashmir/krpc.py b/khashmir/krpc.py
index 86c9973..d826784 100644
--- a/khashmir/krpc.py
+++ b/khashmir/krpc.py
@@ -8,11 +8,11 @@
# for the specific language governing rights and limitations under the
# License.
-from BitTorrent.defer import Deferred
-from BitTorrent.bencode import bencode, bdecode
+from NohGooee.defer import Deferred
+from NohGooee.bencode import bencode, bdecode
import socket
-from BitTorrent.RawServer_magic import Handler
-from BitTorrent.platform import bttime
+from NohGooee.RawServer_magic import Handler
+from NohGooee.platform import bttime
import time
from math import log10
diff --git a/khashmir/kstore.py b/khashmir/kstore.py
index 5c01200..ca59bfa 100644
--- a/khashmir/kstore.py
+++ b/khashmir/kstore.py
@@ -20,7 +20,7 @@ except ImportError:
d[choice(l)] = 1
return d.keys()
-from BitTorrent.platform import bttime as time
+from NohGooee.platform import bttime as time
class KItem:
def __init__(self, key, value):
diff --git a/khashmir/ktable.py b/khashmir/ktable.py
index e0a07b4..1139ea3 100644
--- a/khashmir/ktable.py
+++ b/khashmir/ktable.py
@@ -8,7 +8,7 @@
# for the specific language governing rights and limitations under the
# License.
-from BitTorrent.platform import bttime as time
+from NohGooee.platform import bttime as time
from bisect import *
from types import *
diff --git a/khashmir/node.py b/khashmir/node.py
index 65a48ef..3d9acde 100644
--- a/khashmir/node.py
+++ b/khashmir/node.py
@@ -9,7 +9,7 @@
# License.
import khash
-from BitTorrent.platform import bttime as time
+from NohGooee.platform import bttime as time
from types import *
class Node:
diff --git a/khashmir/test_khashmir.py b/khashmir/test_khashmir.py
index e22028e..19e6175 100644
--- a/khashmir/test_khashmir.py
+++ b/khashmir/test_khashmir.py
@@ -10,7 +10,7 @@
from unittest import *
-from BitTorrent import RawServer_magic
+from NohGooee import RawServer_magic
from khashmir import *
import khash
diff --git a/khashmir/test_krpc.py b/khashmir/test_krpc.py
index 2ba4343..8e57cd9 100644
--- a/khashmir/test_krpc.py
+++ b/khashmir/test_krpc.py
@@ -10,7 +10,7 @@
from unittest import *
from krpc import *
-from BitTorrent.defaultargs import common_options, rare_options
+from NohGooee.defaultargs import common_options, rare_options
from threading import Event
from node import Node
diff --git a/khashmir/test_kstore.py b/khashmir/test_kstore.py
index d2f2b15..8081dad 100644
--- a/khashmir/test_kstore.py
+++ b/khashmir/test_kstore.py
@@ -9,7 +9,7 @@
# License.
import unittest
-from BitTorrent.platform import bttime
+from NohGooee.platform import bttime
from time import sleep
from kstore import KStore
diff --git a/khashmir/unet.py b/khashmir/unet.py
index e163a3f..65f1220 100644
--- a/khashmir/unet.py
+++ b/khashmir/unet.py
@@ -14,8 +14,8 @@
# usage: knet.py <num_nodes> <start_port> <ip_address>
from utkhashmir import UTKhashmir
-from BitTorrent.RawServer_magic import RawServer
-from BitTorrent.defaultargs import common_options, rare_options
+from NohGooee.RawServer_magic import RawServer
+from NohGooee.defaultargs import common_options, rare_options
from random import randrange
from threading import Event
import sys, os