5 Commits

Author SHA1 Message Date
Jim Rollenhagen
4757e69c13 Drop explicit Python 2.6 support
Removes py26 env from tox.ini and other 2.6 references.

Change-Id: I2060047d3bc29c25c500086ab7d9c0e827486654
2015-11-17 18:06:00 -08:00
John L. Villalovos
2df670cf30 Remove unneeded 'utf-8' coding lines
This is basically a revert of commit:
  af741ec2236619880fa902d68aef4a6ae6cef534

It was decided that only files that need to have the line:
  # -*- coding: utf-8 -*-
Should have the line[1] as a general principle

This patch removes the 'utf-8' coding line from files that consist
entirely of ASCII characters.

[1]
http://eavesdrop.openstack.org/meetings/ironic/2015/ironic.2015-04-20-17.00.html

Partial-bug: #1325193
Change-Id: I88c1c37f7b580aa805eae9d4a1e66d33302a325f
2015-04-21 16:44:47 +00:00
Martin Geisler
af741ec223 Add UTF-8 coding lines to all Python files
While not strictly necessary for files containing only ASCII
characters, adding a line with "coding: utf-8" can guard against
future SyntaxError's in case someone inserts a Unicode literal.

This commit adds such lines to all .py files. The syntax used by this
commit works with Python (of course). It also works with Emacs, which
will recognize the special "-*-" marker and use the "coding" variable
to correctly decode the file, even in an environment where UTF-8 is
not the default file encoding.

Existing coding lines were normalized to match the new lines added.

Partial-bug: #1325193
Change-Id: I58bf93fea711fd25890356a397e594bd820c99e3
2014-05-31 13:22:44 +02:00
He Yongli
3622dfa2fb Remove vim header
No need to set tabstop tons of times, this can be set in your vimrc
file instead.

More disucssion:
http://openstack.10931.n7.nabble.com/Remove-vim-modelines-td21780.html

Change-Id: Iff0d2e4725355800f923a04a1bfcac3003a6abd2
Close-bug: #1229324
2014-02-13 15:11:42 +08:00
Chris Krelle
8136ec1b72 Add initial files
Add initial files to the repo.

Change-Id: Ia6b0278fc9817f44e63507b54e7d7ad41bf4e219
2013-09-05 16:35:21 -07:00