Skip to content

Commit

Permalink
flake8 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
martenson committed Sep 28, 2015
1 parent 10c915b commit b77c28c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/galaxy/managers/folders.py
Expand Up @@ -153,7 +153,7 @@ def update( self, trans, folder, name=None, description=None):
if not trans.user_is_admin():
if not self.check_manageable( trans, folder ):
raise InsufficientPermissionsException( "You do not have proper permission to update the library folder." )
if folder.deleted == True:
if folder.deleted is True:
raise ItemAccessibilityException( "You cannot update deleted library folder. Undelete it first." )
if name is not None and name != folder.name:
folder.name = name
Expand All @@ -165,7 +165,6 @@ def update( self, trans, folder, name=None, description=None):
trans.sa_session.add( folder )
trans.sa_session.flush()
return folder


def delete( self, trans, folder, undelete=False ):
"""
Expand Down

0 comments on commit b77c28c

Please sign in to comment.