fix a white space issue
[htsworkflow.git] / htsworkflow / automation / runner.py
index 7b0c4c9d7ca6b47e59254b27e2171876525e6715..d973079fd6b733a066bccfedc9aac9b6c2107daf 100644 (file)
@@ -1,4 +1,5 @@
 #!/usr/bin/env python
+from __future__ import print_function
 from glob import glob
 import logging
 import os
@@ -86,7 +87,7 @@ class Runner(rpc.XmlRpcBot):
             else:
                 reply = u"need runfolder name"
         elif re.match(u"path", msg):
-           reply = u"My path is: " + unicode(os.environ['PATH'])
+            reply = u"My path is: " + unicode(os.environ['PATH'])
         else:
             reply = u"I didn't understand '%s'" %(msg)
 
@@ -196,7 +197,7 @@ class Runner(rpc.XmlRpcBot):
                 #startCmdLineStatusMonitor(ci)
 
                 # running step
-                print 'Running pipeline now!'
+                print('Running pipeline now!')
                 run_status = run_pipeline(conf_info)
                 if run_status is True:
                     LOGGER.info('Runner: Pipeline: success')
@@ -223,4 +224,3 @@ def main(args=None):
 
 if __name__ == "__main__":
     sys.exit(main(sys.argv[1:]))
-