Skip to content

Commit bb5d2fb

Browse files
committed
space
1 parent 5398476 commit bb5d2fb

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -952,15 +952,15 @@ current_metadata = obj.metadata().items()
952952
print(f"{current_metadata = }")
953953
```
954954

955-
By way of explanation, please note that calls of the form
955+
By way of explanation, please note that calls of the form
956956
`obj.metadata([opt1=value1[,opt2=value2...]])` will always
957957
produce new `iRODSMetaCollection` objects - which nevertheless share the same
958958
session object as the original, as the copy is shallow in most respects.
959959
This avoids always mutating the current instance and thus prevents any need to
960960
implement context manager semantics when temporarily altering options such
961961
as `reload` and `admin`.
962962

963-
Additionally note that the call `obj.metadata()` without option parameters
963+
Additionally note that the call `obj.metadata()` without option parameters
964964
always syncs the AVU list within the resulting `iRODSMetaCollection` object to
965965
what is currently in the catalog, because the original object is unmutated with
966966
respect to all options (meaning `obj.metadata.reload` is always `True`) -- that

irods/test/meta_test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -875,4 +875,3 @@ def test_prevention_of_attribute_creation__issue_795(self):
875875
# let the tests find the parent irods lib
876876
sys.path.insert(0, os.path.abspath("../.."))
877877
unittest.main()
878-

0 commit comments

Comments
 (0)