git://git.onelab.eu
/
nodemanager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da21164
)
handle AttributeError: ComponentAPI instance has no attribute 'get_registry'
author
S.Çağlar Onur
<caglar@cs.princeton.edu>
Thu, 23 Dec 2010 01:27:39 +0000
(20:27 -0500)
committer
S.Çağlar Onur
<caglar@cs.princeton.edu>
Thu, 23 Dec 2010 01:27:39 +0000
(20:27 -0500)
plugins/sfagids.py
patch
|
blob
|
history
diff --git
a/plugins/sfagids.py
b/plugins/sfagids.py
index
81c7b1e
..
5c2394b
100644
(file)
--- a/
plugins/sfagids.py
+++ b/
plugins/sfagids.py
@@
-30,9
+30,9
@@
def start():
logger.log("sfagid: plugin starting up ...")
if not sfa:
return
- keyfile, certfile = get_keypair(None)
- api = ComponentAPI(key_file=keyfile, cert_file=certfile)
try:
+ keyfile, certfile = get_keypair(None)
+ api = ComponentAPI(key_file=keyfile, cert_file=certfile)
api.get_node_key()
except AttributeError:
return