X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Fplanetlab%2Fplxrn.py;h=7d2c5bb3a67b82057dc65a5670667c66c67b4ba8;hb=f2f0ba291039230dc85d8bff6ff6f6e843f14381;hp=c9fa5ca00d06a7350713d0a61761380e86219436;hpb=6e75067e28084e907df5d4f7f50fbf1846284d96;p=sfa.git diff --git a/sfa/planetlab/plxrn.py b/sfa/planetlab/plxrn.py index c9fa5ca0..7d2c5bb3 100644 --- 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:]