[kupfer] twitter: Fix to use __name__ with PleaseConfigureLeaf
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [kupfer] twitter: Fix to use __name__ with PleaseConfigureLeaf
- Date: Thu, 4 Mar 2010 21:17:14 +0000 (UTC)
commit 29782eefe6018d7e71af499bb1850e3316863449
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date: Thu Mar 4 22:02:31 2010 +0100
twitter: Fix to use __name__ with PleaseConfigureLeaf
kupfer/plugin/twitter/__init__.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/kupfer/plugin/twitter/__init__.py b/kupfer/plugin/twitter/__init__.py
index bd1d197..6d7cfa2 100644
--- a/kupfer/plugin/twitter/__init__.py
+++ b/kupfer/plugin/twitter/__init__.py
@@ -153,7 +153,7 @@ def load_data_timeline():
if api:
result = list(_load_tweets(api, None, MAX_TIMELINE_STATUSES_COUNT))
else:
- result = [PleaseConfigureLeaf('microbloging_twitter', __kupfer_name__)]
+ result = [PleaseConfigureLeaf(__name__, __kupfer_name__)]
pretty.print_debug(__name__, 'load_data_timeline: finished; load',
len(result), time.time()-start_time)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]