/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/osutils.py

  • Committer: Martin
  • Date: 2017-05-24 19:44:00 UTC
  • mto: This revision was merged to the branch mainline in revision 6634.
  • Revision ID: gzlist@googlemail.com-20170524194400-ut2d4k62szpyofcm
Run 2to3 map fixer and refactor after

Show diffs side-by-side

added added

removed removed

Lines of Context:
811
811
def sha_strings(strings, _factory=sha):
812
812
    """Return the sha-1 of concatenation of strings"""
813
813
    s = _factory()
814
 
    map(s.update, strings)
 
814
    for string in strings:
 
815
        s.update(string)
815
816
    return s.hexdigest()
816
817
 
817
818