From 25063f176cb000b622f727c441969329f3ac7c3c Mon Sep 17 00:00:00 2001 From: yackob03 Date: Mon, 2 Dec 2013 16:16:59 -0500 Subject: [PATCH] Remove some spurious print statements. --- endpoints/api.py | 3 --- test/test_endpoint_security.py | 2 -- 2 files changed, 5 deletions(-) diff --git a/endpoints/api.py b/endpoints/api.py index c21bb652d..080deee58 100644 --- a/endpoints/api.py +++ b/endpoints/api.py @@ -719,10 +719,7 @@ def update_repo_api(namespace, repository): def repo_logs_api(namespace, repository): permission = AdministerRepositoryPermission(namespace, repository) if permission.can(): - print namespace - print repository repo = model.get_repository(namespace, repository) - print repo if not repo: abort(404) diff --git a/test/test_endpoint_security.py b/test/test_endpoint_security.py index 33845ec88..e762ec5ea 100644 --- a/test/test_endpoint_security.py +++ b/test/test_endpoint_security.py @@ -42,8 +42,6 @@ class _SpecTestBuilder(type): rv = c.open(url, **open_kwargs) msg = '%s %s: %s expected: %s' % (open_kwargs['method'], url, rv.status_code, expected_status) - if rv.status_code != expected_status: - print msg self.assertEqual(rv.status_code, expected_status, msg) return test