~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/revision.py

  • Committer: John Arbash Meinel
  • Date: 2006-07-13 00:05:14 UTC
  • mfrom: (1861 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1871.
  • Revision ID: john@arbash-meinel.com-20060713000514-aa62627aa0d4deb6
[merge] bzr.dev 1861

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
        return not self.__eq__(other)
76
76
 
77
77
    def _check_properties(self):
78
 
        """Verify that all revision properties are OK.
79
 
        """
 
78
        """Verify that all revision properties are OK."""
80
79
        for name, value in self.properties.iteritems():
81
80
            if not isinstance(name, basestring) or contains_whitespace(name):
82
81
                raise ValueError("invalid property name %r" % name)