models.gitrepo: Ignore unknown paths
commit6b2e6aab97e4d48a092b904745a6c0b702cdeb17
authorDavid Aguilar <david.aguilar@disneyanimation.com>
Thu, 8 Oct 2009 21:45:03 +0000 (8 14:45 -0700)
committerDavid Aguilar <david.aguilar@disneyanimation.com>
Thu, 8 Oct 2009 21:45:03 +0000 (8 14:45 -0700)
tree39e404b7aa019ed976d1e1bcb72afe522980d60d
parentd607171708b6632a6a6bda582b7805ee4ada709e
models.gitrepo: Ignore unknown paths

PyQt4 segfaults when children are added to QStandardItemModels
after a view is observing it.

This works on older version of PyQt4 so this is a workaround
until we have a better solution.

The downside of this change is that we won't recognize when
new files appear in the repository.  The upside is that it
avoids PyQt4 segfaults.

Closes #25

Signed-off-by: David Aguilar <david.aguilar@disneyanimation.com>
cola/models/gitrepo.py