chiark / gitweb /
write pctb commodmap to debug file
authorIan Jackson <ian@liberator.relativity.greenend.org.uk>
Sun, 5 Sep 2010 13:00:13 +0000 (14:00 +0100)
committerIan Jackson <ian@liberator.relativity.greenend.org.uk>
Sun, 5 Sep 2010 13:00:13 +0000 (14:00 +0100)
src/com/tedpearson/ypp/market/MarketUploader.java

index 98ef25e..f8437f9 100644 (file)
@@ -737,6 +737,7 @@ public class MarketUploader implements TopLevelWindowListener, GUIInitializedLis
                        while((str = br.readLine()) != null) {
                                sb.append(str);
                        }
+                       if (dtxt != null) debug_write_stringdata("pctb-commodmap.xmlish", sb.toString());
                        int first = sb.indexOf("<pre>") + 5;
                        int last = sb.indexOf("</body>");
                        xml = sb.substring(first,last);