public
Description: Simple to use TVDB (thetvdb.com) API in Python, and automatic TV episode namer
Homepage: http://dbr.lighthouseapp.com/projects/13342-tvdb_api/tickets
Clone URL: git://github.com/dbr/tvdb_api.git
Removed now unused _Ddict class (it was replaced with the 
ShowContainer/Shows/Seasons/Episode classes)
dbr (author)
Fri Jul 25 10:18:54 -0700 2008
commit  8306d494e44ee833bc71ea5ce9c931f606bd1418
tree    84726c88a0759cf3e278603e049cc409b3968368
parent  e60dd2d8887c79bca1c26e076318f158df8d2069
...
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
...
20
21
22
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
24
25
0
@@ -20,21 +20,6 @@ Example usage:
0
 __author__ = "dbr/Ben"
0
 __version__ = "0.3"
0
 
0
-class _Ddict(dict):
0
- """Lazy-dict, automatically creates multidimensional dicts
0
- by having __getitem__ create sub-dicts automatically"""
0
- def __init__(self, default=None):
0
- dict.__init__(self)
0
- self.default = default
0
- #end __init__
0
-
0
- def __getitem__(self, key):
0
- if not self.has_key(key):
0
- self[key] = self.__class__(self.default) # Create sub-instance
0
- return dict.__getitem__(self, key)
0
- #end __getitem__
0
-#end _Ddict
0
-
0
 class Cache:
0
     """
0
     Simple caching URL opener. Acts like:

Comments

    No one has commented yet.