~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_source.py

  • Committer: John Arbash Meinel
  • Date: 2006-10-18 04:45:50 UTC
  • mto: This revision was merged to the branch mainline in revision 2087.
  • Revision ID: john@arbash-meinel.com-20061018044550-f9522fe99ba15a70
Don't check plugins for copyright or license

Show diffs side-by-side

added added

removed removed

Lines of Context:
130
130
 
131
131
    def is_copyright_exception(self, fname):
132
132
        """Certain files are allowed to be different"""
133
 
        if '/util/' in fname:
134
 
            # We don't require external utilities to be (C) Canonical Ltd
 
133
        if '/util/' in fname or '/plugins/' in fname:
 
134
            # We don't ask that external utilities or plugins be
 
135
            # (C) Canonical Ltd
135
136
            return True
136
137
 
137
138
        for exc in COPYRIGHT_EXCEPTIONS:
142
143
 
143
144
    def is_license_exception(self, fname):
144
145
        """Certain files are allowed to be different"""
145
 
        if '/util/' in fname:
146
 
            # We don't require external utilities to be (C) Canonical Ltd
 
146
        if '/util/' in fname or '/plugins/' in fname:
 
147
            # We don't ask that external utilities or plugins be
 
148
            # (C) Canonical Ltd
147
149
            return True
148
150
 
149
151
        for exc in LICENSE_EXCEPTIONS: