summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-09-09 17:49:22 +0100
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-09-09 17:49:22 +0100
commit03e794ca09e1583872fcc1c560a5ec7016983cb3 (patch)
tree0d5831c202e419100e121f9ddb4f1de93f7c49e8
parent5781b22666b605c8a967b26424171273aa48f635 (diff)
downloaddefinitions-03e794ca09e1583872fcc1c560a5ec7016983cb3.tar.gz
Fix openstack write/check exts to pass the tests
-rwxr-xr-xopenstack.check2
-rwxr-xr-xopenstack.write2
2 files changed, 2 insertions, 2 deletions
diff --git a/openstack.check b/openstack.check
index d9d3ef24..edc37cc1 100755
--- a/openstack.check
+++ b/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/openstack.write b/openstack.write
index ac2e2c8a..dc18f9aa 100755
--- a/openstack.write
+++ b/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