[gnome-maps/wip/osm-edit: 3/47] osmApi: Remove some debug output.



commit 8410d789319ac8e476cfa56e8201dfe2a6819cd5
Author: Marcus Lundblad <ml update uu se>
Date:   Tue Jan 20 22:52:27 2015 +0100

    osmApi: Remove some debug output.

 src/osmConnection.js |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/src/osmConnection.js b/src/osmConnection.js
index 989917a..6eadd6d 100644
--- a/src/osmConnection.js
+++ b/src/osmConnection.js
@@ -39,24 +39,16 @@ const OSMConnection = new Lang.Class({
        let request = new Soup.Message({ method: 'GET',
                                         uri: uri });
 
-       print('calling URL: ' + url);
-       
        this._session.queue_message(request, (function(obj, message) {
-           print('got response status: ' + message.status_code);
-
            if (message.status_code !== Soup.KnownStatusCode.OK) {
                 callback(false, message.status_code, null);
                 return;
             }
-
-           print('got response: ' + message.response_body.data);
            
             callback(true,
                      message.status_code,
                     message.response_body.data);
         }));
-
-       print('after');
     },
     
     _getQueryUrl: function(type, id) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]