Skip to content
This repository has been archived by the owner on Apr 16, 2023. It is now read-only.

Commit

Permalink
refactoring: #845 add and use convenience import for module "coordina…
Browse files Browse the repository at this point in the history
…te_reference_systems"
  • Loading branch information
das-g committed May 22, 2017
1 parent b61da81 commit f3ea192
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions osmaxx/conversion/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from .constants import output_format, status
from .constants import coordinate_reference_systems, output_format, status

default_app_config = 'osmaxx.conversion.apps.ConversionConfig'

__all__ = ['default_app_config', 'output_format', 'status']
__all__ = ['default_app_config', 'coordinate_reference_systems', 'output_format', 'status']
2 changes: 1 addition & 1 deletion osmaxx/conversion/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from osmaxx.clipping_area.models import ClippingArea
from osmaxx.conversion.converters.converter import convert
from osmaxx.conversion.converters.converter_gis.detail_levels import DETAIL_LEVEL_CHOICES, DETAIL_LEVEL_ALL
from osmaxx.conversion.constants import coordinate_reference_systems as crs
from osmaxx.conversion import coordinate_reference_systems as crs


def job_directory_path(instance, filename):
Expand Down
2 changes: 1 addition & 1 deletion osmaxx/excerptexport/forms/order_options_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from osmaxx.conversion import output_format
from osmaxx.conversion.converters.converter_gis.detail_levels import DETAIL_LEVEL_CHOICES
from osmaxx.conversion.constants import coordinate_reference_systems as crs
from osmaxx.conversion import coordinate_reference_systems as crs


class OrderOptionsMixin(forms.Form):
Expand Down
2 changes: 1 addition & 1 deletion osmaxx/excerptexport/models/extraction_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from django.utils.translation import ugettext_lazy as _

from osmaxx.conversion.converters.converter_gis.detail_levels import DETAIL_LEVEL_CHOICES, DETAIL_LEVEL_ALL
from osmaxx.conversion.constants import coordinate_reference_systems as crs
from osmaxx.conversion import coordinate_reference_systems as crs
from .excerpt import Excerpt


Expand Down
2 changes: 1 addition & 1 deletion tests/conversion/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

from osmaxx.conversion import output_format, status
from osmaxx.conversion.converters.converter_gis import detail_levels
from osmaxx.conversion.constants import coordinate_reference_systems as crs
from osmaxx.conversion import coordinate_reference_systems as crs

format_list = output_format.DEFINITIONS.keys()

Expand Down

0 comments on commit f3ea192

Please sign in to comment.