From f3be8c60a7e0a5b0b08b321227ec36c80a489849 Mon Sep 17 00:00:00 2001
From: Holger Nahrstaedt <holger@nahrstaedt.de>
Date: Fri, 16 Feb 2018 09:43:30 +0100
Subject: [PATCH] fix remaining steem and steembase classes

---
 docs/memo.rst               | 8 ++++----
 docs/transactionbuilder.rst | 6 +++---
 steempybase/objects.py      | 2 +-
 tests/test_objectcache.py   | 6 +++---
 tests/test_transactions.py  | 2 +-
 tox.ini                     | 2 +-
 6 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/docs/memo.rst b/docs/memo.rst
index a72b9f7d..8242f338 100644
--- a/docs/memo.rst
+++ b/docs/memo.rst
@@ -58,8 +58,8 @@ for the corresponding accounts.
 
 .. code-block:: python
 
-    from steem.memo import Memo
-    from steem.account import Account
+    from steempy.memo import Memo
+    from steempy.account import Account
 
     memoObj = Memo(
         from_account=Account(from_account),
@@ -73,8 +73,8 @@ Decoding of a received memo
 .. code-block:: python
 
      from getpass import getpass
-     from steem.block import Block
-     from steem.memo import Memo
+     from steempy.block import Block
+     from steempy.memo import Memo
 
      # Obtain a transfer from the blockchain
      block = Block(23755086)                   # block
diff --git a/docs/transactionbuilder.rst b/docs/transactionbuilder.rst
index 55fd4b96..b7fdc676 100644
--- a/docs/transactionbuilder.rst
+++ b/docs/transactionbuilder.rst
@@ -5,8 +5,8 @@ To build your own transactions and sign them
 
 .. code-block:: python
 
-   from steem.transactionbuilder import TransactionBuilder
-   from steembase.operations import Transfer
+   from steempy.transactionbuilder import TransactionBuilder
+   from steempybase.operations import Transfer
    tx = TransactionBuilder()
    tx.appendOps(Transfer(**{
             "fee": {"amount": 0, "asset_id": "1.3.0"},  # will be filled in automatically
@@ -18,5 +18,5 @@ To build your own transactions and sign them
    tx.sign()
    tx.broadcast()
 
-.. autoclass:: steem.transactionbuilder.TransactionBuilder
+.. autoclass:: steempy.transactionbuilder.TransactionBuilder
    :members:
diff --git a/steempybase/objects.py b/steempybase/objects.py
index 5ccfc17a..487523a2 100644
--- a/steempybase/objects.py
+++ b/steempybase/objects.py
@@ -54,7 +54,7 @@ class Operation(GPHOperation):
         super(Operation, self).__init__(*args, **kwargs)
 
     def _getklass(self, name):
-        module = __import__("steembase.operations", fromlist=["operations"])
+        module = __import__("steempybase.operations", fromlist=["operations"])
         class_ = getattr(module, name)
         return class_
 
diff --git a/tests/test_objectcache.py b/tests/test_objectcache.py
index 93eb2927..cc323bc4 100644
--- a/tests/test_objectcache.py
+++ b/tests/test_objectcache.py
@@ -1,8 +1,8 @@
 import time
 import unittest
-from steem import Steem, exceptions
-from steem.instance import set_shared_steem_instance
-from steem.blockchainobject import ObjectCache
+from steempy import Steem, exceptions
+from steempy.instance import set_shared_steem_instance
+from steempy.blockchainobject import ObjectCache
 
 
 class Testcases(unittest.TestCase):
diff --git a/tests/test_transactions.py b/tests/test_transactions.py
index fb4c39b8..d6206653 100644
--- a/tests/test_transactions.py
+++ b/tests/test_transactions.py
@@ -1,4 +1,4 @@
-from steembase import (
+from steempybase import (
     transactions,
     memo,
     account,
diff --git a/tox.ini b/tox.ini
index d49d40b0..4d80aba3 100644
--- a/tox.ini
+++ b/tox.ini
@@ -13,7 +13,7 @@ commands=
 deps=
     flake8
 commands=
-    flake8 --ignore=E501,F401 steemapi steembase examples
+    flake8 --ignore=E501,F401 steempyapi steempybase examples
 
 [testenv:docs]
 basepython=
-- 
GitLab