~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/revision.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-07-12 12:36:57 UTC
  • mfrom: (1732.3.4 bzr.revnoX)
  • Revision ID: pqm@pqm.ubuntu.com-20060712123657-365eeb32b69308bf
(matthieu) revno:x:url revision spec

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)