git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9268427
)
- no need to pass auth struct, Peer now signs calls automatically
author
Mark Huang
<mlhuang@cs.princeton.edu>
Fri, 15 Dec 2006 18:40:21 +0000
(18:40 +0000)
committer
Mark Huang
<mlhuang@cs.princeton.edu>
Fri, 15 Dec 2006 18:40:21 +0000
(18:40 +0000)
PLC/Cache.py
patch
|
blob
|
history
diff --git
a/PLC/Cache.py
b/PLC/Cache.py
index
5a64a2a
..
21b8950
100644
(file)
--- a/
PLC/Cache.py
+++ b/
PLC/Cache.py
@@
-59,12
+59,11
@@
class Cache:
Of course the timers field was introduced for optimization and could safely be removed
"""
Of course the timers field was introduced for optimization and could safely be removed
"""
- def __init__ (self, api, peer_id, peer_server
, auth
):
+ def __init__ (self, api, peer_id, peer_server):
self.api = api
self.peer_id = peer_id
self.peer_server = peer_server
self.api = api
self.peer_id = peer_id
self.peer_server = peer_server
- self.auth = auth
class Transcoder:
class Transcoder:
@@
-430,7
+429,7
@@
class Cache:
timers={}
t_start=time.time()
# xxx see also GetPeerData - peer_id arg unused yet
timers={}
t_start=time.time()
# xxx see also GetPeerData - peer_id arg unused yet
- all_data = self.peer_server.GetPeerData (self.a
uth,self.a
pi.config.PLC_NAME)
+ all_data = self.peer_server.GetPeerData (self.api.config.PLC_NAME)
verbose ('Passed GetPeerData the name',self.api.config.PLC_NAME)
sks=all_data.keys()
verbose ('Passed GetPeerData the name',self.api.config.PLC_NAME)
sks=all_data.keys()