From: Marek Marecki <marekjm@taistelu.com>
Date: Sat, 24 Aug 2013 13:21:55 +0000 (+0200)
Subject: User lookup changed names (check Changelog)
X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=51ab5af594df419a022f3bda0ed7b24532149c47;p=diaspy.git

User lookup changed names (check Changelog)
---

diff --git a/Changelog.markdown b/Changelog.markdown
index aa3af83..30c66e5 100644
--- a/Changelog.markdown
+++ b/Changelog.markdown
@@ -35,6 +35,7 @@ up-to-date than manual and if conflicts appear they should follow the order:
 
 * __upd__:  if `Post()` is created with fetched comments, data will also be fetched as a dependency,
 * __upd__:  `id` argument type is now `int` (`diaspy.models.Post.__init__()`),
+* __upd__:  `Search().lookup_user()` renamed to `Search().lookupUser()`,
 
 * __fix__:  fixed some bugs in regular expressions used by `diaspy` internals
             (html tag removal, so you get nicer notifications),
diff --git a/diaspy/search.py b/diaspy/search.py
index 4b6a1df..2022aca 100644
--- a/diaspy/search.py
+++ b/diaspy/search.py
@@ -10,7 +10,7 @@ class Search():
     def __init__(self, connection):
         self._connection = connection
 
-    def lookup_user(self, handle):
+    def lookupUser(self, handle):
         """This function will launch a webfinger lookup from the pod for the
         handle requested. Response code is returned and if the lookup was successful,
         user should soon be searchable via pod used for connection.