diff options
author | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2014-09-09 17:49:22 +0100 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2014-09-09 17:49:22 +0100 |
commit | 0ad2933a46ad829e08da9ec3346feeb3d0d8bb27 (patch) | |
tree | cfbfcf4176fd3b41a41bebf649d789841d7a8090 /morphlib | |
parent | 47210250a11a0c1542d707fec325ebcab8f85820 (diff) | |
download | morph-0ad2933a46ad829e08da9ec3346feeb3d0d8bb27.tar.gz |
Fix openstack write/check exts to pass the tests
Diffstat (limited to 'morphlib')
-rwxr-xr-x | morphlib/exts/openstack.check | 2 | ||||
-rwxr-xr-x | morphlib/exts/openstack.write | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/morphlib/exts/openstack.check b/morphlib/exts/openstack.check index d9d3ef24..edc37cc1 100755 --- a/morphlib/exts/openstack.check +++ b/morphlib/exts/openstack.check @@ -60,7 +60,7 @@ class OpenStackCheckExtension(morphlib.writeexts.WriteExtension): def check_location(self, location): x = urlparse.urlparse(location) if x.scheme not in ['http', 'https']: - raise cliapp.AppException('URL schema must be http or https in %s' \ + raise cliapp.AppException('URL schema must be http or https in %s'\ % location) if (x.path != '/v2.0' and x.path != '/v2.0/'): raise cliapp.AppException('API version must be v2.0 in %s'\ diff --git a/morphlib/exts/openstack.write b/morphlib/exts/openstack.write index ac2e2c8a..dc18f9aa 100755 --- a/morphlib/exts/openstack.write +++ b/morphlib/exts/openstack.write @@ -1,5 +1,5 @@ #!/usr/bin/python -# Copyright (C) 2013 Codethink Limited +# Copyright (C) 2013 - 2014 Codethink Limited # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by |