2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-25 19:10:10 +00:00

Remove codecs getwriter unicode from nodesensors

In nodesensors, things are made into binary strings explicitly,
which causes the codecs.getwriter to choke
This commit is contained in:
Jarrod Johnson 2017-08-22 16:54:25 -04:00
parent d1bafa98bb
commit 9798f30ef8

View File

@ -15,7 +15,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import codecs
import csv
import datetime
import optparse
@ -35,8 +34,6 @@ if path.startswith('/opt'):
import confluent.client as client
sys.stdout = codecs.getwriter('utf8')(sys.stdout)
sensorcollections = {
'all': 'sensors/hardware/all/all',
'temperature': 'sensors/hardware/temperature/all',