mirror of
https://github.com/kennethreitz-archive/python-convore.git
synced 2026-06-05 23:40:18 +00:00
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.
This commit is contained in:
+4
-4
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user