From: Tony Mack Date: Fri, 28 Feb 2014 19:43:45 +0000 (-0500) Subject: do not truncate login base X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=commitdiff_plain;h=b4f7d65fc8998602457573801017ba6e12bf18d4 do not truncate login base --- diff --git a/sfa/planetlab/plxrn.py b/sfa/planetlab/plxrn.py index 2c24f1e2..647f341c 100644 --- a/sfa/planetlab/plxrn.py +++ b/sfa/planetlab/plxrn.py @@ -101,7 +101,4 @@ class PlXrn (Xrn): base = base.lower() base = re.sub('[\\\\]*[^a-zA-Z0-9]', '', base) - if len(base) > 20: - base = base[len(base)-20:] - return base