Update of /cvsroot/freevo/freevo/src
In directory sc8-pr-cvs1:/tmp/cvs-serv29538

Modified Files:
        main.py 
Log Message:
setup mmpython if it is installed

Index: main.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/main.py,v
retrieving revision 1.47
retrieving revision 1.48
diff -C2 -d -r1.47 -r1.48
*** main.py     8 Jun 2003 18:09:20 -0000       1.47
--- main.py     20 Jun 2003 17:38:11 -0000      1.48
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.48  2003/06/20 17:38:11  dischi
+ # setup mmpython if it is installed
+ #
  # Revision 1.47  2003/06/08 18:09:20  dischi
  # add --doc switch to generate api doc in Docs/api
***************
*** 378,381 ****
--- 381,393 ----
          shutdown(allow_sys_shutdown=0)
  
+     try:
+         import mmpython
+         mmcache = '%s/mmpython' % config.FREEVO_CACHEDIR
+         if not os.path.isdir(mmcache):
+             os.mkdir(mmcache)
+         mmpython.use_cache(mmcache)
+     except:
+         pass
+     
      try:
          main_func()




-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to