Include perfclient in pdm.cli's exports.
[pdm.git] / pdm / cli.py
index 4e158d8..65d5a89 100644 (file)
@@ -6,7 +6,7 @@ provided in the pdm.srv module.
 
 import socket, pickle, struct, select, threading
 
-__all__ = ["client", "replclient"]
+__all__ = ["client", "replclient", "perfclient"]
 
 class protoerr(Exception):
     pass
@@ -47,6 +47,9 @@ class client(object):
     def close(self):
         self.sk.close()
 
+    def fileno(self):
+        return self.sk.fileno()
+
     def readline(self):
         while True:
             p = self.buf.find("\n")