Skip to content

Commit

Permalink
Fix messy temp_dir import
Browse files Browse the repository at this point in the history
  • Loading branch information
timlinux committed Oct 14, 2012
1 parent e3e51a5 commit dd212e7
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions safe_qgis/dock.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,11 @@
.. todo:: Check raster is single band
"""
from safe.common.utilities import temp_dir

__author__ = 'tim@linfiniti.com'
__revision__ = '$Format:%H$'
__date__ = '10/01/2011'
__copyright__ = ('Copyright 2012, Australia Indonesia Facility for '
'Disaster Reduction')
__type__ = 'beta' # beta, final etc will be shown in dock title

import os
import numpy
import logging
Expand All @@ -38,7 +34,7 @@
QgsRectangle)
from qgis.analysis import QgsZonalStatistics

# TODO: Rather impor via safe_interface.py TS
# TODO: Rather import via safe_interface.py TS
from safe.api import write_keywords, read_keywords, ReadLayerError

from safe_qgis.dock_base import Ui_DockBase
Expand All @@ -53,7 +49,8 @@
getSafeImpactFunctions,
writeKeywordsToFile,
safeTr,
get_version)
get_version,
temp_dir)
from safe_qgis.keyword_io import KeywordIO
from safe_qgis.clipper import clipLayer
from safe_qgis.exceptions import (KeywordNotFoundException,
Expand Down

0 comments on commit dd212e7

Please sign in to comment.