Skip to content

Commit

Permalink
fix iquest hanging where pagination not disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
pigay committed Sep 25, 2015
1 parent c31ff66 commit a4b434c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mcia_irods_utils/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def iquest_filter2( e ):

return [x.split( "'", 3 ) for x in e.strip().split( "\n" )]

iquest = IrodsCommand( "iquest", ["%s'%s'%s'%s"], output_filter = iquest_filter2, verbose = False )
iquest = IrodsCommand( "iquest", ["--no-page", "%s'%s'%s'%s"], output_filter = iquest_filter2, verbose = False )

select = "select COLL_NAME, META_COLL_ATTR_NAME, META_COLL_ATTR_VALUE, META_COLL_ATTR_UNITS"

Expand Down
2 changes: 1 addition & 1 deletion scripts/imeta-coll
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def iquest_filter( e ):

def collection_list( collection, recursive ):
collections = [collection]
iquest = IrodsCommand( "iquest", ["%s"], output_filter = iquest_filter )
iquest = IrodsCommand( "iquest", ["--no-page", "%s"], output_filter = iquest_filter )

retcode, output = iquest( ["select COLL_NAME where COLL_NAME like '%s/%%'" % collection] )

Expand Down

0 comments on commit a4b434c

Please sign in to comment.