Browse Source

Merge pull request #101 from gurneyalex/8.0-protect-import

protect import of external dependencies
pull/115/head
Pedro M. Baeza 10 years ago
parent
commit
32b8e49584
  1. 6
      base_location_geonames_import/wizard/geonames_import.py

6
base_location_geonames_import/wizard/geonames_import.py

@ -27,11 +27,15 @@ from openerp.exceptions import Warning
import requests
import tempfile
import StringIO
import unicodecsv
import zipfile
import os
import logging
try:
import unicodecsv
except ImportError:
unicodecsv = None
logger = logging.getLogger(__name__)

Loading…
Cancel
Save