Skip to content

Non ASCII characters in comments cause issues on python 2.7.12 #1029

@abattye

Description

@abattye

The agent (and maybe also driver) fails to run due to the presence of the non ascii ® character in comments.

The error generated is (for example) :

SyntaxError: Non-ASCII character '\xc2' in file /var/lib/openstack/src/f5-openstack-agent/f5_openstack_agent/lbaasv2/drivers/bigip/agent_manager.py on line 238, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

Please either remove these characters or specify an encoding as per pep-0263

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions