[cpif] r23 - trunk
    svn at argo.es 
    svn at argo.es
       
    Thu Apr 26 20:30:48 CEST 2007
    
    
  
Author: jcea
Date: Thu Apr 26 20:30:47 2007
New Revision: 23
Log:
Aun mas compatibilidad windows
Modified:
   trunk/storage.py
Modified: trunk/storage.py
==============================================================================
--- trunk/storage.py	(original)
+++ trunk/storage.py	Thu Apr 26 20:30:47 2007
@@ -27,7 +27,10 @@
       import os
       os._exit(os.EX_OK)
 
-  path=os.path.join(path,"unix_socket")
+  if os.name == 'nt' : # En windows no hay sockets unix...
+    path=("127.0.0.1",7911)
+  else :
+    path=os.path.join(path,"unix_socket")
   import threading
   storage_thread=threading.Thread(target=storage_background,args=(st,path))
   storage_thread.setDaemon(True)
    
    
More information about the cpif
mailing list