Commit bc101361 authored by Patrick Godwin's avatar Patrick Godwin

dagparts.py, pipeline.py: use OrderedDict for condor opts to preserve order

parent dc057d1e
......@@ -178,7 +178,7 @@ class DAGJob(pipeline.CondorDAGJob):
os.mkdir(self.output_path)
except:
pass
for cmd,val in condor_commands.items():
for cmd, val in condor_commands.items():
self.add_condor_cmd(cmd, val)
......
......@@ -25,6 +25,7 @@ from glue import git_version
__date__ = git_version.date
__version__ = git_version.id
from collections import OrderedDict
import os
import sys
import re
......@@ -386,7 +387,7 @@ class CondorJob(object):
self.__options = {}
self.__short_options = {}
self.__arguments = []
self.__condor_cmds = {}
self.__condor_cmds = OrderedDict()
self.__notification = None
self.__log_file = None
self.__in_file = None
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment