Fixed resolve of db file in settings.py for Django 1.4 (PY-7278).

This commit is contained in:
Dmitry Trofimov
2012-08-27 12:30:02 +02:00
parent bbd60e05fc
commit 9c314a7165
@@ -305,7 +305,7 @@ public class FileReferenceSet {
}
@Nullable
private PsiFile getContainingFile() {
protected PsiFile getContainingFile() {
final PsiFile file = InjectedLanguageUtil.getTopLevelFile(myElement.getContainingFile());
if (file == null) {
LOG.error("Invalid element: " + myElement);