Skip to content
This repository has been archived by the owner on Feb 18, 2019. It is now read-only.

Commit

Permalink
Limit revision id to 16 characters
Browse files Browse the repository at this point in the history
  • Loading branch information
Malini Das committed Jun 27, 2012
1 parent eb4c237 commit ff58b20
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions datazilla/datazilla.py
Expand Up @@ -44,7 +44,8 @@ def join_results(self, results):
self.results[suite] = results[suite]

"""
Datazilla request object that manages test information and submission
Datazilla request object that manages test information and submission.
Note that the revision id can be 16 characters, maximum.
"""
class DatazillaRequest(object):
def __init__(self, server, machine_name="", os="", os_version="", platform="",
Expand Down Expand Up @@ -86,7 +87,7 @@ def submit(self):
'test_build' : {
'name': self.build_name,
'version': self.version,
'revision': self.revision,
'revision': self.revision[:16],
'branch': self.branch,
'id': self.id
},
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -5,7 +5,7 @@
import sys
from setuptools import setup, find_packages

version = '0.1'
version = '0.2.1'

deps = []

Expand Down

0 comments on commit ff58b20

Please sign in to comment.