From: Tony Mack Date: Fri, 28 Feb 2014 19:44:24 +0000 (-0500) Subject: dont truncate login base X-Git-Tag: sfa-3.1-3~10 X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=commitdiff_plain;h=b622e5224d876370d02af885144c1a80947d45d0 dont truncate login base --- diff --git a/sfa/planetlab/plxrn.py b/sfa/planetlab/plxrn.py index 7d2c5bb3..1b0e4745 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