Commits

Shu Zong Chen committed 429b449

Saving work

Comments (0)

Files changed (1)

cjh/gis_io/management/commands/gis_publish.py

 from django.core.management.base import BaseCommand, CommandError
 from cjh.gis_io.models import GIS_IO
+from cjh.gis_io import ftbridge
 import glob
 import os
 import lxml.etree
 		streams = GIS_IO.upstreams()
 		for stream in streams:
 			for fn in glob.glob(os.path.join(stream.download_path, '*.kml')):
+				print ftbridge.get_ft_client()
+				continue
 				with open(fn) as fh:
 					kml = lxml.etree.parse(fh)
 				items = kml.findall(stream.xpath['query'], namespaces=stream.xpath['namespace'])