git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cleaned up imports
[sfa.git]
/
sfa
/
util
/
plxrn.py
diff --git
a/sfa/util/plxrn.py
b/sfa/util/plxrn.py
index
e538902
..
7049df6
100644
(file)
--- a/
sfa/util/plxrn.py
+++ b/
sfa/util/plxrn.py
@@
-54,7
+54,7
@@
class PlXrn (Xrn):
def pl_slicename (self):
self._normalize()
leaf = self.leaf
- leaf = re.sub('[^a-zA-Z0-9]', '', leaf)
+ leaf = re.sub('[^a-zA-Z0-9
_
]', '', leaf)
return self.pl_login_base() + '_' + leaf
#def hrn_to_pl_authname(hrn):