From d43b398709953d63158b7c44b38e0fc481eb00b1 2013-02-01 17:25:49 From: Takafumi Arakaki Date: 2013-02-01 17:25:49 Subject: [PATCH] Be explicit about default value for unique --- diff --git a/IPython/kernel/zmq/ipkernel.py b/IPython/kernel/zmq/ipkernel.py index 3f7e9a3..b010143 100755 --- a/IPython/kernel/zmq/ipkernel.py +++ b/IPython/kernel/zmq/ipkernel.py @@ -504,7 +504,7 @@ class Kernel(Configurable): elif hist_access_type == 'search': n = parent['content'].get('n') - unique = parent['content'].get('unique') + unique = parent['content'].get('unique', False) pattern = parent['content']['pattern'] hist = self.shell.history_manager.search( pattern, raw=raw, output=output, n=n, unique=unique)