~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/add.py

  • Committer: John Arbash Meinel
  • Date: 2006-07-02 05:28:12 UTC
  • mto: This revision was merged to the branch mainline in revision 1851.
  • Revision ID: john@arbash-meinel.com-20060702052812-2edccb8f915f46b2
A couple no-op cleanups

Show diffs side-by-side

added added

removed removed

Lines of Context:
266
266
                    ignore_glob = tree.is_ignored(subp)
267
267
                    if ignore_glob is not None:
268
268
                        # mutter("skip ignored sub-file %r", subp)
269
 
                        if ignore_glob not in ignored:
270
 
                            ignored[ignore_glob] = []
271
 
                        ignored[ignore_glob].append(subp)
 
269
                        ignored.setdefault(ignore_glob, []).append(subp)
272
270
                    else:
273
271
                        #mutter("queue to add sub-file %r", subp)
274
272
                        dirs_to_add.append((FastPath(subp, subf), this_ie))