Removed unnecessary call to rstrip.