Skip to content

Unicode literals are causing error messages #178

Description

@nwinemiller-dbx

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions