~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/revision.py

  • Committer: Robey Pointer
  • Date: 2006-07-12 15:30:24 UTC
  • mfrom: (1860 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1861.
  • Revision ID: robey@lag.net-20060712153024-84f85a11780a17df
merge from bzr.dev

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)