Opened 6 years ago

Closed 6 years ago

Last modified 4 years ago

#10620 closed (fixed)

All .py files have LF line endings except test_mutable_list.py

Reported by: ruiyen Owned by: nobody
Component: GIS Version: 1.1-beta
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

Source file http://code.djangoproject.com/svn/django/trunk/django/contrib/gis/geos/tests/test_mutable_list.py (as of revision 10170 and version 1.1-beta-1) has CRLF line endings, whereas all other .py files under http://code.djangoproject.com/svn/django/trunk/django/ have LF line endings.

This interfered with a Python 2to3 conversion that I was experimenting with, although I am very aware that Python 3 is not supported yet.

Minimal solution: Replace the CRLF line endings in file test_mutable_list.py with LF line endings.

Full solution: Replace the CRLF line endings in file test_mutable_list.py with LF line endings, then set the "svn:mime-type" property of all .py files to "text/x-python", and set the "svn:eol-style" property of all .py files to "native".

Change History (4)

comment:1 Changed 6 years ago by mtredinnick

  • milestone changed from 1.1 beta to 1.1
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

We just need to send the eol-style. It happens sometimes.

comment:2 Changed 6 years ago by jbronn

Damn! However, I didn't forgot to set svn:ignore.

comment:3 Changed 6 years ago by jbronn

  • Resolution set to fixed
  • Status changed from new to closed

(In [10174]) Fixed #10620 -- removed carriage returns in a GEOS tests module; fixed other errata such as unnecessary pymutable_geometries module and not having GEOSGeometry call __init__.

comment:4 Changed 4 years ago by jacob

  • milestone 1.1 deleted

Milestone 1.1 deleted

Note: See TracTickets for help on using tickets.
Back to Top