« Previous | Next » 

Revision 18a2af6d

ID18a2af6dd2d794c32ea1a03df99396b1dc176696

Added by Ilias Tsitsimpis almost 11 years ago

Replace rstrip with re.sub

With rstrip we specify a set of characters to be removed.
We want to remove a substring hence the use of re.sub.
(rstrip produces wrong results in many cases)

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences