[Checkins] SVN: zopyx.convert2/trunk/src/zopyx/convert2/xinc.py import fix

Andreas Jung andreas at andreas-jung.com
Sun Oct 5 02:37:21 EDT 2008


Log message for revision 91765:
  import fix
  

Changed:
  U   zopyx.convert2/trunk/src/zopyx/convert2/xinc.py

-=-
Modified: zopyx.convert2/trunk/src/zopyx/convert2/xinc.py
===================================================================
--- zopyx.convert2/trunk/src/zopyx/convert2/xinc.py	2008-10-05 06:35:58 UTC (rev 91764)
+++ zopyx.convert2/trunk/src/zopyx/convert2/xinc.py	2008-10-05 06:37:21 UTC (rev 91765)
@@ -8,7 +8,7 @@
 import sys
 
 from convert import BaseConverter
-from util import runcmd, which, win32, checkEnvironment
+from util import runcmd, which, win32, checkEnvironment, newTempfile
 from logger import LOG
 
 
@@ -30,7 +30,7 @@
     """ Convert a FO file to PDF using XINC """
 
     if not output_filename:
-        output_filename = self.newTempfile(suffix='.pdf')
+        output_filename = newTempfile(suffix='.pdf')
 
     if not xinc_available:
         raise RuntimeError("The external XINC converter isn't available")



More information about the Checkins mailing list