Skip to content

Commit

Permalink
Merge pull request #29 from pigay/fix-iquest-pagination
Browse files Browse the repository at this point in the history
fix iquest hanging where pagination not disabled
  • Loading branch information
Pierre Gay committed Sep 25, 2015
2 parents c31ff66 + a4b434c commit 0e21479
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 0e21479

Please sign in to comment.