Sadless74 / googletransitdatafeed

Automatically exported from code.google.com/p/googletransitdatafeed
0 stars 0 forks source link

split transitfeed.py into multiple files #196

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
transitfeed.py is now around 4200 lines long, which makes it larger than 
99.5% of files in my /usr/lib/python2.5 .

Some people have complained that the length makes it difficult to 
understand. We can fix this by creating a directory transitfeed containing 
__init__.py and put each of the big classes (Stop, Trip, Schedule, ...) in 
their own file. This shouldn't affect other code that does normal things 
such as 'import transitfeed; transitfeed.Schedule()'.

Original issue reported on code.google.com by tom.brow...@gmail.com on 29 Oct 2009 at 6:32

GoogleCodeExporter commented 9 years ago
I am currently looking into this, and if no big downsides are found it should 
be done 
pretty soon.

Original comment by a...@google.com on 18 Feb 2010 at 8:23

GoogleCodeExporter commented 9 years ago
This was checked-in as r1275.

I did some more tests with a clean client and no issues came up, but I might 
have 
missed something. If anyone finds that this change breaks something that it 
shouldn't 
please update this bug with more information.

Original comment by a...@google.com on 3 Mar 2010 at 1:52