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
removed the 'append' option to Allocate in the PL driver;
[sfa.git]
/
sfa
/
planetlab
/
plxrn.py
diff --git
a/sfa/planetlab/plxrn.py
b/sfa/planetlab/plxrn.py
index
c9fa5ca
..
1b0e474
100644
(file)
--- a/
sfa/planetlab/plxrn.py
+++ b/
sfa/planetlab/plxrn.py
@@
-99,9
+99,6
@@
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:]
-
return base