aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2019-11-13 00:59:29 +0000
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2019-11-21 20:08:01 +0000
commit528322cfeda7e4f27935fef85f6bb0927471793d (patch)
tree5847ad63d482c036b57122f2fa1e75320a52560f
parenta3ef5944704831b3d1d21b7271940521ce50e4c7 (diff)
downloadservo-528322cfeda7e4f27935fef85f6bb0927471793d.tar.gz
servo-528322cfeda7e4f27935fef85f6bb0927471793d.zip
Fix needs_gstreamer_env() signature
Use iterable default value for `features`.
-rw-r--r--python/servo/command_base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/servo/command_base.py b/python/servo/command_base.py
index c3119d5cfd3..42385ff4e38 100644
--- a/python/servo/command_base.py
+++ b/python/servo/command_base.py
@@ -562,7 +562,7 @@ class CommandBase(object):
return self.get_executable(destination_folder)
- def needs_gstreamer_env(self, target, env, uwp=False, features=None):
+ def needs_gstreamer_env(self, target, env, uwp=False, features=[]):
if uwp:
return False
if "media-dummy" in features: