Commits

Steve Losh committed 56cf2f5

Fix some problems the tests detected.

  • Participants
  • Parent commits 0a1b99b

Comments (0)

Files changed (1)

     elif len(postfix) >= length:
         return postfix[:length]
     else:
-        return (text[:length-len(postfix)].strip() + postfix)[:length]
+        return text[:length-len(postfix)] + postfix