dropbox / dropbox/pynsot

Unicode literals are causing error messages

Open
#178 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
46
Forks
22
PR merge metrics
No merged PRs in 30d

Description

PyNSOT has lots of error regarding unicode literals which makes it really annoying to use.

nsot devices list -H device1
/usr/local/lib/python2.7/dist-packages/pynsot/app.py:848: Warning: Click detected the use of the unicode_literals __future__ import. This is heavily discouraged because it can introduce subtle bugs in your code. You should instead use explicit u"" literals for your unicode strings. For more information see https://click.palletsprojects.com/python3/
@click.pass_context
/usr/local/lib/python2.7/dist-packages/pynsot/commands/cmd_devices.py:35: Warning: Click detected the use of the unicode_literals __future__ import. This is heavily discouraged because it can introduce subtle bugs in your code. You should instead use explicit u"" literals for your unicode strings. For more information see https://click.palletsprojects.com/python3/
@click.pass_context
/usr/local/lib/python2.7/dist-packages/pynsot/commands/cmd_devices.py:79: Warning: Click detected the use of the unicode_literals __future__ import. This is heavily discouraged because it can introduce subtle bugs in your code. You should instead use explicit u"" literals for your unicode strings. For more information see https://click.palletsprojects.com/python3/
@click.pass_context
/usr/local/lib/python2.7/dist-packages/pynsot/commands/cmd_devices.py:176: Warning: Click detected the use of the unicode_literals __future__ import. This is heavily discouraged because it can introduce subtle bugs in your code. You should instead use explicit u"" literals for your unicode strings. For more information see https://click.palletsprojects.com/python3/
@click.pass_context
/usr/local/lib/python2.7/dist-packages/pynsot/commands/cmd_devices.py:200: Warning: Click detected the use of the unicode_literals __future__ import. This is heavily discouraged because it can introduce subtle bugs in your code. You should instead use explicit u"" literals for your unicode strings. For more information see https://click.palletsprojects.com/python3/
@click.pass_context
/usr/local/lib/python2.7/dist-packages/pynsot/commands/cmd_devices.py:234: Warning: Click detected the use of the unicode_literals __future__ import. This is heavily discouraged because it can introduce subtle bugs in your code. You should instead use explicit u"" literals for your unicode strings. For more information see https://click.palletsprojects.com/python3/
@click.pass_context
/usr/local/lib/python2.7/dist-packages/pynsot/commands/cmd_devices.py:315: Warning: Click detected the use of the unicode_literals __future__ import. This is heavily discouraged because it can introduce subtle bugs in your code. You should instead use explicit u"" literals for your unicode strings. For more information see https://click.palletsprojects.com/python3/
@click.pass_context

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.