git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2677634
)
added interface_name() method
author
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Fri, 21 Oct 2011 16:29:17 +0000
(12:29 -0400)
committer
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Fri, 21 Oct 2011 16:29:17 +0000
(12:29 -0400)
sfa/util/plxrn.py
patch
|
blob
|
history
diff --git
a/sfa/util/plxrn.py
b/sfa/util/plxrn.py
index
5976f3e
..
f292823
100644
(file)
--- a/
sfa/util/plxrn.py
+++ b/
sfa/util/plxrn.py
@@
-67,6
+67,10
@@
class PlXrn (Xrn):
self._normalize()
return self.authority[-1]
+ def interface_name(self):
+ self._normalize()
+ return self.leaf
+
#def hrn_to_pl_login_base(hrn):
def pl_login_base (self):
self._normalize()