Author: ks156
Date: 2009-03-13 12:36:01 +0100 (Fri, 13 Mar 2009)
New Revision: 4051

Modified:
   
software_suite_v2/tuxware/pytuxisalive/branches/0.3.0/src/tuxisalive/api/sh.py
Log:
* Load TuxAPI with the full package path for linux. Otherwise, TuxAPI will
  never be found if the API is installed on the python site packages.


Modified: 
software_suite_v2/tuxware/pytuxisalive/branches/0.3.0/src/tuxisalive/api/sh.py
===================================================================
--- 
software_suite_v2/tuxware/pytuxisalive/branches/0.3.0/src/tuxisalive/api/sh.py  
    2009-03-13 11:06:30 UTC (rev 4050)
+++ 
software_suite_v2/tuxware/pytuxisalive/branches/0.3.0/src/tuxisalive/api/sh.py  
    2009-03-13 11:36:01 UTC (rev 4051)
@@ -28,7 +28,10 @@
 import signal
 import atexit
 
-from TuxAPI import *
+if os.name == 'nt':
+    from TuxAPI import *
+else:
+    from tuxisalive.api.TuxAPI import *
 
 global tux
 


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to