From 9b7cce6509575d3ad4f0798641124982fbb5491a Mon Sep 17 00:00:00 2001 From: Adi Sieker Date: Wed, 9 Mar 2011 11:02:32 +0100 Subject: [PATCH] don't sync on instatiation. if we sync on instantiation login happens automatically. we don't get a chance to call account_verify or rather it doesn't make sense. --- convore/types.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/convore/types.py b/convore/types.py index 257006a..9ddb4b2 100644 --- a/convore/types.py +++ b/convore/types.py @@ -3,7 +3,7 @@ convore.types ~~~~~~~~~~~ - This module contains the reusable helper objects + This module contains the reusable helper objects used throughout the wrapper. :copyright: (c) 2011 by Kenneth Reitz. @@ -24,14 +24,14 @@ class SyncedList(object): def __init__(self): self.data = [] - if hasattr(self, 'sync'): - self.sync() + #if hasattr(self, 'sync'): + # self.sync() def __repr__(self): return str(self.data) - + def __getitem__(self, key): if isinstance(key, int):