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:
f5ca351
)
PLC_API_HOST/PLC_API_IP
author
S.Çağlar Onur
<caglar@cs.princeton.edu>
Tue, 9 Nov 2010 21:06:12 +0000
(16:06 -0500)
committer
S.Çağlar Onur
<caglar@cs.princeton.edu>
Tue, 9 Nov 2010 21:06:12 +0000
(16:06 -0500)
aspects/ratelimitaspects.py
patch
|
blob
|
history
diff --git
a/aspects/ratelimitaspects.py
b/aspects/ratelimitaspects.py
index
67f0682
..
c90758b
100644
(file)
--- a/
aspects/ratelimitaspects.py
+++ b/
aspects/ratelimitaspects.py
@@
-25,7
+25,7
@@
class BaseRateLimit(object):
api_method_name = wobj.name
api_method_source = wobj.source
- if api_method_source == None or api_method_source[0] == self.config.PLC_API_
HOST
:
+ if api_method_source == None or api_method_source[0] == self.config.PLC_API_
IP
:
return
mc = memcache.Client(['%s:11211'] % self.config.PLC_API_HOST)