Skip to content

Commit

Permalink
fix grace period bug and version number
Browse files Browse the repository at this point in the history
  • Loading branch information
pigay committed Mar 13, 2017
1 parent dab848d commit efb0374
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion mcia_irods_utils/replicas.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def replica_dict_with_date( output ):

if pr is None: continue

path, replnum, date = pr
path, replnum, dataid, date = pr

if path not in ret: ret[path] = [replnum, dataid, date]
else:
Expand Down
4 changes: 2 additions & 2 deletions scripts/irepl-check
Original file line number Diff line number Diff line change
Expand Up @@ -393,9 +393,9 @@ def do_irepl_check( collection, condition, user, recursive, verbose, resource,
if date:
grace_failed = []
for f in failed:
d = datetime.datetime.fromtimestamp( f[1][1] )
d = datetime.datetime.fromtimestamp( f[1][2] )
if d < grace_date:
grace_failed.append( ( f[0], f[1][0] ) )
grace_failed.append( ( f[0], f[1] ) )
failed = grace_failed

for f in failed:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
scripts = glob.glob( "scripts/i*" )

setup( name = 'mcia-irods-utils',
version = '0.7.-',
version = '0.7.7',
description = 'MCIA\'s iCommands utilities',
author = 'Pierre Gay',
author_email = 'pierre.gay@u-bordeaux.fr',
Expand Down

0 comments on commit efb0374

Please sign in to comment.