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
fix regex in pl_login_base()
[sfa.git]
/
sfa
/
planetlab
/
plxrn.py
diff --git
a/sfa/planetlab/plxrn.py
b/sfa/planetlab/plxrn.py
index
c9fa5ca
..
7d2c5bb
100644
(file)
--- a/
sfa/planetlab/plxrn.py
+++ b/
sfa/planetlab/plxrn.py
@@
-99,7
+99,7
@@
class PlXrn (Xrn):
# Fix up names of GENI Federates
base = base.lower()
- base = re.sub('
\\\
[^a-zA-Z0-9]', '', base)
+ base = re.sub('
[\\\\]*
[^a-zA-Z0-9]', '', base)
if len(base) > 20:
base = base[len(base)-20:]