Updates .gitignore

To ignore swap files from getting into repository
currently the implemented ignore is *.swp
however vim adds more swap files if these files exists,
so improving this with *.sw?

Change-Id: Iff581457cabe936b8b285142caff92fcc849f04a
Closes-Bug: #1255876
Use assertIn where appropriate

Change-Id: I641f1d840f276b65ae1449da3705a248e4592485
Bump hacking to 0.8

hacking 0.8 brings us bunch of python 3 compat rules.
Fix the python 3 compat issues to make this landable.

Change-Id: I0fbefefce92b506146e2bb833ffb0bd984b1c097
Partial-Bug: #1257301
Properly handle Regions in keystoneclient

Region name is taken as a parameter but is ignored in all communication
with the service catalog. Currently region can be stored in the token
data and then requests to url functions will return the appropriate
region. This is the wrong approach because there is nothing specific to
the token (or auth_data) that is region specific. Instead region
information should be held by the client.

Closes-Bug: 1147530
Closes-Bug: 1255992
Change-Id: I812aa89c8b4af28e294e63926a7f88e8246fffc5
Merge "Bump hacking to 0.8"
Merge "Use assertIn where appropriate"
use six.StringIO for compatibility with io.StringIO in python3

The newer version of six (1.4.1) provides six.StringIO which
is a fake file object for textual data. It's an alias for cStringIO.StringIO,
in python2 and io.StringIO in Python3.

Change-Id: If1ccfca128385f976938f0f0c74573687faad9ac
Signed-off-by: Chuck Short <chuck.short@canonical.com>
Merge "Updates .gitignore"
Merge "use six.StringIO for compatibility with io.StringIO in python3"
Sync with latest module from oslo

- This add a few bugfixes for py3 support.

Change-Id: Ieb73d5f799423fa8abf71634c86601ba6d32df2f
Allow commit title messages to end with a period.

Match what we have in keystone (http://git.io/BNnRcw)

Closes-Bug: 1259488
Change-Id: I6baa0504b9df1f5094df1249d7d902f2188fd95a
Sync global requirements to pin sphinx to sphinx>=1.1.2,<1.2

Sync the global requirements to pin sphinx.  This addresses an issue
where Sphinx 1.2 is not building documents correctly and causing
check/gate to fail.

Change-Id: I92af6481d2fdfaea6eda4eaffb0388eeaea8cb9f
Merge "Properly handle Regions in keystoneclient"
Python3: replace urllib by six.moves.urllib

This makes the code compatible with both Python 2 and 3.

Change-Id: I721a5567842f2df6ce2a8af501787204daba3082
Merge "Allow commit title messages to end with a period."
Merge "Sync with latest module from oslo"
Merge "Python3: replace urllib by six.moves.urllib"