fix syntax for color args

This commit is contained in:
Akshay Arora 2016-07-06 12:22:00 +05:30 committed by GitHub
parent 0fe5b934a5
commit c78acee103

View file

@ -23,7 +23,7 @@ class TargetAndroidNew(TargetAndroid):
self._p4a_bootstrap = self.buildozer.config.getdefault( self._p4a_bootstrap = self.buildozer.config.getdefault(
'app', 'android.bootstrap', 'sdl2') 'app', 'android.bootstrap', 'sdl2')
self.p4a_apk_cmd += ('{} --color={} --storage-dir={}'.format( self.p4a_apk_cmd += ('{} --color={} --storage-dir={}'.format(
self._p4a_bootstrap, self.color, self._build_dir) self._p4a_bootstrap, color, self._build_dir))
def _p4a(self, cmd, **kwargs): def _p4a(self, cmd, **kwargs):
kwargs.setdefault('cwd', self.pa_dir) kwargs.setdefault('cwd', self.pa_dir)