git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5064f82
)
dont truncate login base
author
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Fri, 28 Feb 2014 19:44:24 +0000
(14:44 -0500)
committer
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Fri, 28 Feb 2014 19:44:24 +0000
(14:44 -0500)
sfa/planetlab/plxrn.py
patch
|
blob
|
history
diff --git
a/sfa/planetlab/plxrn.py
b/sfa/planetlab/plxrn.py
index
7d2c5bb
..
1b0e474
100644
(file)
--- 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