Skip to content

Commit

Permalink
bit of cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
fpurcell committed May 29, 2015
1 parent 5a09b12 commit fc94ac3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
7 changes: 2 additions & 5 deletions gtfsdb/model/route.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import logging
import time
import sys
import logging
log = logging.getLogger(__name__)

from sqlalchemy import Column
from sqlalchemy.orm import deferred, object_session, relationship
Expand All @@ -10,13 +11,9 @@
from gtfsdb import config
from gtfsdb.model.base import Base


__all__ = ['RouteType', 'Route', 'RouteDirection', 'RouteStop']


log = logging.getLogger(__name__)


class RouteType(Base):
datasource = config.DATASOURCE_LOOKUP
filename = 'route_type.txt'
Expand Down
5 changes: 1 addition & 4 deletions gtfsdb/model/stop_time.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
import datetime
import logging
log = logging.getLogger(__name__)

from sqlalchemy import Column
from sqlalchemy.orm import relationship, joinedload_all
from sqlalchemy.sql.expression import func
from sqlalchemy.types import Boolean, Integer, Numeric, String

from gtfsdb import config
from gtfsdb import util
from gtfsdb.model.base import Base


log = logging.getLogger(__name__)


class StopTime(Base):
datasource = config.DATASOURCE_GTFS
filename = 'stop_times.txt'
Expand Down

0 comments on commit fc94ac3

Please sign in to comment.