From 51ab5af594df419a022f3bda0ed7b24532149c47 Mon Sep 17 00:00:00 2001 From: Marek Marecki Date: Sat, 24 Aug 2013 15:21:55 +0200 Subject: [PATCH] User lookup changed names (check Changelog) --- Changelog.markdown | 1 + diaspy/search.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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. -- 2.25.1