Fix index

This commit is contained in:
chouseknecht 2016-06-21 02:26:03 -04:00 committed by Matt Clay
parent cc053c45ce
commit 1e9590ab65

View file

@ -1029,7 +1029,7 @@ class TaskParameters(DockerBaseClass):
if len(pieces) >= 2:
limits['name'] = pieces[0]
limits['soft'] = int(pieces[1])
limits['hard'] = int(pieces[2])
limits['hard'] = int(pieces[1])
if len(pieces) == 3:
limits['hard'] = int(pieces[2])
try: