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 98ef25e955239db0c402a706ded93dcd6555332d..f8437f94d85758511f7f1067076cba4f3c56238f 100644 (file)
@@ -737,6 +737,7 @@ public class MarketUploader implements TopLevelWindowListener, GUIInitializedLis
                        while((str = br.readLine()) != null) {
                                sb.append(str);
                        }
                        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);
                        int first = sb.indexOf("<pre>") + 5;
                        int last = sb.indexOf("</body>");
                        xml = sb.substring(first,last);