Various flake8 fixes.

- Removed tabs.
- Fixed E731 do not assign a lambda expression, use a def.
- avoid hasattr
This commit is contained in:
Maurits van Rees
2016-06-10 02:14:45 +02:00
committed by Gil Forcada
parent cdb48ba87a
commit 814af8d837
7 changed files with 22 additions and 19 deletions
@@ -189,14 +189,14 @@ require([ // jshint ignore:line
/**********************************************************************
* Edit a comment
**********************************************************************/
if($.fn.prepOverlay){
$('form[name="edit"]').prepOverlay({
cssclass: 'overlay-edit-comment',
width: '60%',
subtype: 'ajax',
filter: '#content>*'
});
}
if($.fn.prepOverlay){
$('form[name="edit"]').prepOverlay({
cssclass: 'overlay-edit-comment',
width: '60%',
subtype: 'ajax',
filter: '#content>*'
});
}
/**********************************************************************
* Delete a comment and its answers.