Revision c4feafe8 lib/jqueue.py

b/lib/jqueue.py
882 882
    @return: the path to the job file
883 883

  
884 884
    """
885
    return os.path.join(constants.QUEUE_DIR, "job-%s" % job_id)
885
    return utils.PathJoin(constants.QUEUE_DIR, "job-%s" % job_id)
886 886

  
887 887
  @classmethod
888 888
  def _GetArchivedJobPath(cls, job_id):
......
895 895

  
896 896
    """
897 897
    path = "%s/job-%s" % (cls._GetArchiveDirectory(job_id), job_id)
898
    return os.path.join(constants.JOB_QUEUE_ARCHIVE_DIR, path)
898
    return utils.PathJoin(constants.JOB_QUEUE_ARCHIVE_DIR, path)
899 899

  
900 900
  @classmethod
901 901
  def _ExtractJobID(cls, name):

Also available in: Unified diff