summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Wolf <throughnothing@gmail.com>2011-06-01 23:11:50 -0400
committerWilliam Wolf <throughnothing@gmail.com>2011-06-01 23:11:50 -0400
commit5ded1f2c1d0d14b3c04df137f7cc6a0b65e53fda (patch)
tree3893e6f717c5c64755f00e80f2c2c6a0b1710b34
parent4fb46873ef4332c6570d3ac5559557745056dee6 (diff)
downloadnova-5ded1f2c1d0d14b3c04df137f7cc6a0b65e53fda.tar.gz
nova-5ded1f2c1d0d14b3c04df137f7cc6a0b65e53fda.tar.xz
nova-5ded1f2c1d0d14b3c04df137f7cc6a0b65e53fda.zip
got rid of print debugs
-rw-r--r--nova/api/openstack/common.py1
-rw-r--r--nova/api/openstack/servers.py1
-rw-r--r--nova/tests/api/openstack/test_images.py2
-rw-r--r--nova/tests/api/openstack/test_servers.py1
4 files changed, 1 insertions, 4 deletions
diff --git a/nova/api/openstack/common.py b/nova/api/openstack/common.py
index c9e3dbb64..559b44ef5 100644
--- a/nova/api/openstack/common.py
+++ b/nova/api/openstack/common.py
@@ -102,7 +102,6 @@ def limited(items, request, max_limit=FLAGS.osapi_max_limit):
def limited_by_marker(items, request, max_limit=FLAGS.osapi_max_limit):
"""Return a slice of items according to the requested marker and limit."""
- print "TEST LIMIT"
(marker, limit) = get_pagination_params(request)
if limit == 0:
diff --git a/nova/api/openstack/servers.py b/nova/api/openstack/servers.py
index ad556ca84..f2ce64e78 100644
--- a/nova/api/openstack/servers.py
+++ b/nova/api/openstack/servers.py
@@ -55,7 +55,6 @@ class Controller(object):
def detail(self, req):
""" Returns a list of server details for a given user """
- print "DETAIL"
return self._items(req, is_detail=True)
def _image_id_from_req_data(self, data):
diff --git a/nova/tests/api/openstack/test_images.py b/nova/tests/api/openstack/test_images.py
index 38823c377..c2b03c281 100644
--- a/nova/tests/api/openstack/test_images.py
+++ b/nova/tests/api/openstack/test_images.py
@@ -306,7 +306,7 @@ class GlanceImageServiceTest(_BaseImageServiceTests):
'is_public': True,
'name': 'TestImage %d' % (i),
'properties': {
- 'updated': None,
+ 'updated': None,
'created': None,
},
}
diff --git a/nova/tests/api/openstack/test_servers.py b/nova/tests/api/openstack/test_servers.py
index 3de7865cd..51def1980 100644
--- a/nova/tests/api/openstack/test_servers.py
+++ b/nova/tests/api/openstack/test_servers.py
@@ -448,7 +448,6 @@ class ServersTest(test.TestCase):
req = webob.Request.blank('/v1.1/servers?limit=2&marker=asdf')
res = req.get_response(fakes.wsgi_app())
self.assertEqual(res.status_int, 400)
- print "BODY",res.body
self.assertTrue(res.body.find('marker param') > -1)
def _setup_for_create_instance(self):