~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/testament.py

- clean up imports

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
 
69
69
from cStringIO import StringIO
70
70
import string
71
 
import sha
 
71
from sha import sha
72
72
 
73
73
 
74
74
def contains_whitespace(s):
169
169
 
170
170
    def as_short_text(self):
171
171
        """Return short digest-based testament."""
172
 
        s = sha.sha()
 
172
        s = sha()
173
173
        map(s.update, self.as_text_lines())
174
174
        return ('bazaar-ng testament short form 1\n'
175
175
                'revision %s\n'