From 9f7f45fe2616442d4d05f46fd6d90001ffb12ee6 Mon Sep 17 00:00:00 2001 From: Gauvain Pocentek Date: Sat, 5 Nov 2016 08:26:40 +0100 Subject: [PATCH] fix line too long --- gitlab/objects.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gitlab/objects.py b/gitlab/objects.py index 1a916ae5f..e427c49f5 100644 --- a/gitlab/objects.py +++ b/gitlab/objects.py @@ -1257,7 +1257,8 @@ def enable(self): def disable(self): """Disable a deploy key for a project.""" - url = '/projects/%s/deploy_keys/%s/disable' % (self.project_id, self.id) + url = '/projects/%s/deploy_keys/%s/disable' % (self.project_id, + self.id) r = self.gitlab._raw_delete(url) raise_error_from_response(r, GitlabProjectDeployKeyError, 200)