From: Marek Marecki Date: Mon, 20 May 2013 19:41:45 +0000 (+0200) Subject: Last commit before merging into master: X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=278febce89bf175f8f6f9fc7197b06d441b28f56;p=diaspy.git Last commit before merging into master: `diaspy.streams.Activity` now inherits from `Stream` and not `Generic` `diaspy.streams.Aspects` got some refactoring, new tests added, testconf file must be updated in order for new tests to run (documented in `testconf.md`), --- diff --git a/diaspy/streams.py b/diaspy/streams.py index 39080e3..50d7b6f 100644 --- a/diaspy/streams.py +++ b/diaspy/streams.py @@ -192,7 +192,7 @@ class Stream(Generic): return request.json()['data']['photo']['id'] -class Activity(Generic): +class Activity(Stream): """Stream representing user's activity. """ _location = 'activity.json' @@ -232,38 +232,31 @@ class Aspects(Generic): An example call would be `aspects.json?aspect_ids=23,5,42` """ _location = 'aspects.json' - _id_regexp = re.compile(r'