summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zuul/driver/gitlab/gitlabconnection.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/zuul/driver/gitlab/gitlabconnection.py b/zuul/driver/gitlab/gitlabconnection.py
index 363281fec..9fb0aeb77 100644
--- a/zuul/driver/gitlab/gitlabconnection.py
+++ b/zuul/driver/gitlab/gitlabconnection.py
@@ -377,7 +377,7 @@ class GitlabConnection(BaseConnection):
def _getChange(self, project, number, patchset=None,
refresh=False, url=None, event=None):
log = get_annotated_logger(self.log, event)
- key = (project.name, number, patchset)
+ key = (project.name, str(number), str(patchset))
change = self._change_cache.get(key)
if change and not refresh:
log.debug("Getting change from cache %s" % str(key))