# vim: set fileencoding=utf-8
# Pavel Odvody <podvody@redhat.com>
#
# HICA - Host integrated container applications
#
# MIT License (C) 2015

from base.hica_base import *

class TtyInjector(HicaInjector):
  def get_description(self):
    return 'Allocates a TTY for the process'

  def get_config_key(self):
    return 'io.hica.tty'

  def get_injected_args(self):
    return ((None, None, None),)

  def inject_config(self, config, args):
    super(TtyInjector, self).inject_config(config, args)
    config.append('-t')

# vim: set fileencoding=utf-8
# Pavel Odvody <podvody@redhat.com>
#
# HICA - Host integrated container applications
#
# MIT License (C) 2015

from base.hica_base import *

class TtyInjector(HicaInjector):
  def get_description(self):
    return 'Allocates a TTY for the process'

  def get_config_key(self):
    return 'io.hica.tty'

  def get_injected_args(self):
    return ((None, HicaValueType.NONE, None),)

  def inject_config(self, config, args):
    super(TtyInjector, self).inject_config(config, args)
    config.append('-t')

Use the proper none value
Use the proper none value
