Skip to content

Commit

Permalink
Merge pull request #3160 from Sukneet/get_name-warn-fix
Browse files Browse the repository at this point in the history
warn_bad_name should not use global name
  • Loading branch information
takluyver authored Dec 22, 2017
2 parents 782e9ce + ca5e39a commit 3857c92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notebook/static/notebook/js/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -954,7 +954,7 @@ define([
**/

if(typeof(name_or_data) === 'string'){
warn_bad_name(name);
warn_bad_name(name_or_data);
if(this.exists(name_or_data)){
return name_or_data;
} else {
Expand Down

0 comments on commit 3857c92

Please sign in to comment.