Skip to content

Commit

Permalink
Update run-image
Browse files Browse the repository at this point in the history
  • Loading branch information
midokate authored Oct 4, 2019
1 parent fd2c101 commit 480fa30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contents/run-image
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ possible_opts = ['add-host', 'blkio-weight', 'cap-add', 'cap-drop', 'cidfile',
'volume-from', 'ulimit', 'uts', 'tty', 'workdir', 'user']
OPTIONS = []

for env_var_name, env_var_value in os.environ.iteritems():
for env_var_name, env_var_value in os.environ.items():
if (env_var_name.startswith('RD_OPTION') or
env_var_name.startswith('RD_NODE') or
env_var_name.startswith('RD_JOB')) and \
Expand Down Expand Up @@ -97,7 +97,7 @@ p = Popen(
while True:
line = p.stdout.readline().rstrip()
if line:
print line
print ( line )
if p.poll() is not None:
break

Expand Down

0 comments on commit 480fa30

Please sign in to comment.