Skip to content

Commit

Permalink
Fixing variable name to avoid overlap
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielefronze committed May 22, 2020
1 parent 60f7f52 commit 12ebcea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/rucio/client/replicaclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,11 +184,11 @@ def add_replica(self, rse, scope, name, bytes, adler32=None, pfn=None, md5=None,
:return: True if files were created successfully.
"""
dict = {'scope': scope, 'name': name, 'bytes': bytes, 'meta': meta}
dictio = {'scope': scope, 'name': name, 'bytes': bytes, 'meta': meta}

set_replica_checksums(dict, md5=md5, adler32=adler32, pfn=pfn)
set_replica_checksums(dictio, md5=md5, adler32=adler32, pfn=pfn)

return self.add_replicas(rse=rse, files=[dict])
return self.add_replicas(rse=rse, files=[dictio])

def add_replicas(self, rse, files, ignore_availability=True):
"""
Expand Down

0 comments on commit 12ebcea

Please sign in to comment.