Skip to content

Commit fc9f0d5

Browse files
committed
Cast to int instead of long
1 parent 2722ec5 commit fc9f0d5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

codespeed/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def clean(self):
122122
raise ValidationError("Invalid commit id %s" % self.commitid)
123123
if self.branch.project.repo_type == "S":
124124
try:
125-
long(self.commitid)
125+
int(self.commitid)
126126
except ValueError:
127127
raise ValidationError("Invalid SVN commit id %s" % self.commitid)
128128

0 commit comments

Comments
 (0)