Commits

Rune Halvorsen committed e3dc333

Removed some debug statements

Comments (0)

Files changed (1)

         """Grab some data from the socket"""
         data = ""
         try:
-            print 111
             data = self._conn.recv(1024)
-            print 222
             while data:
                 msg, pos = decode_stp1(data)
                 if msg:
                     self.messages.append(msg)
                     data = data[pos:]
                 else:
-                    print 333, len(data)
                     data += self._conn.recv(1024)
-                    print 444
         except socket.timeout:
             pass
 
                       tag=tag, payload=payload)
         buf = encode_stp1(cmd.serialize())
         ok = self._conn.sendall(buf)
-        print "sent", cmd, ok
+        #print "sent", cmd, ok
 
     def pop_message(self):
         try:
             return self.messages.pop(0)
         except IndexError:
             pass
-        print "prereadmeas"
         self._read_messages()
-        print "postreadmeas"
         try:
             return self.messages.pop(0)
         except IndexError: