Commits

Stefano Quaranta  committed b1f5904

Added compatibility for Python 2.6

  • Participants
  • Parent commits 3549ece

Comments (0)

Files changed (2)

File kepub/__init__.py

 """Package for overall project management"""
 
-VERSION = (0, 3, 0, 'alpha', 2)
+VERSION = (0, 3, 0, 'beta', 0)
 
 def get_version(version=None):
     """Derives a PEP386-compliant version number from VERSION."""

File kepub/utils.py

         cmd = 'java -classpath "%s" net.sf.saxon.Transform -s:"%s" -xsl:"%s" -o:"%s"' % \
               (SAXON_CLASSPATH, src_file, xsl_file, dst_file)
         dummy_file = open(os.devnull, 'w')
-        subprocess.check_output(shlex.split(cmd), stderr=dummy_file)
+        subprocess.call(shlex.split(cmd), stderr=dummy_file)
         time.sleep(SLEEP_TIME)
     except subprocess.CalledProcessError as cpe:
         raise TransformationError(cpe)