From 3455c92bde19fb6387ff9d162b5b299cedc9f55f Mon Sep 17 00:00:00 2001 From: Dmitry Avdeev Date: Tue, 24 Jan 2012 13:43:35 +0400 Subject: [PATCH] IDEA-79352: PyCharm 2.0.1 shows nice error box for trac after test button --- .../src/com/intellij/tasks/trac/TracRepository.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/trac/TracRepository.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/trac/TracRepository.java index 5ce6d6c4b299..136ed2161ebd 100644 --- a/plugins/tasks/tasks-core/src/com/intellij/tasks/trac/TracRepository.java +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/trac/TracRepository.java @@ -57,10 +57,8 @@ public class TracRepository extends BaseRepositoryImpl { String search = myDefaultSearch + "&max=" + max; if (myMaxSupported == null) { try { + myMaxSupported = true; result = runQuery(query, transport, client, search); - if (result != null) { - myMaxSupported = true; - } } catch (XmlRpcException e) { if (e.getMessage().contains("t.max")) {