Skip to content

Commit 5a8986e

Browse files
committed
ws
1 parent 7554302 commit 5a8986e

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

irods/access.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def copy(self, decanonicalize=False, ref_zone=''):
123123
)
124124
if '' != ref_zone == other.user_zone:
125125
other.user_zone = ''
126-
126+
127127
return other
128128

129129
def __repr__(self):

irods/test/access_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -553,8 +553,8 @@ def test_atomic_acls_505(self):
553553
group = ses.groups.create("test_group_505")
554554
ses.acls._call_atomic_acl_api(
555555
self.coll_path,
556-
a1:=iRODSAccess("write", "", user1.name, user1.zone),
557-
a2:=iRODSAccess("read", "", user2.name, user2.zone),
556+
a1:=iRODSAccess("write", "", user1.name, user1.zone),
557+
a2:=iRODSAccess("read", "", user2.name, user2.zone),
558558
a3:=iRODSAccess("read", "", group.name),
559559
)
560560

@@ -565,7 +565,7 @@ def test_atomic_acls_505(self):
565565
p.path = self.coll_path
566566

567567
# Assert that the ACLs we added are among those listed for the object in the catalog.
568-
normalize = lambda access: access.copy(decanonicalize=True, ref_zone=ses.zone)
568+
normalize = lambda access: access.copy(decanonicalize=True, ref_zone=ses.zone)
569569
self.assertLess(
570570
set(normalize(_) for _ in (a1,a2,a3)),
571571
set(normalize(_) for _ in accesses)

0 commit comments

Comments
 (0)