All of lore.kernel.org
 help / color / mirror / Atom feed
* main - lvmdbusd: Correct typos
@ 2022-09-19 15:57 Tony Asleson
  0 siblings, 0 replies; 2+ messages in thread
From: Tony Asleson @ 2022-09-19 15:57 UTC (permalink / raw)
  To: lvm-devel

Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=068073e924246ebda66b6dff590455d648007007
Commit:        068073e924246ebda66b6dff590455d648007007
Parent:        abf22df46c53968e5b064b2a4feb7b57e08fac09
Author:        Tony Asleson <tasleson@redhat.com>
AuthorDate:    Wed Aug 17 12:06:17 2022 -0500
Committer:     Tony Asleson <tasleson@redhat.com>
CommitterDate: Fri Sep 16 10:49:36 2022 -0500

lvmdbusd: Correct typos

---
 daemons/lvmdbusd/objectmanager.py | 4 ++--
 daemons/lvmdbusd/utils.py         | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/daemons/lvmdbusd/objectmanager.py b/daemons/lvmdbusd/objectmanager.py
index e40e9a14a..95d33db19 100644
--- a/daemons/lvmdbusd/objectmanager.py
+++ b/daemons/lvmdbusd/objectmanager.py
@@ -287,7 +287,7 @@ class ObjectManager(AutomatedProperties):
 		register it with the object manager for the specified uuid & lvm_id.
 		Note: If path create is not None, uuid and lvm_id cannot be equal
 		:param uuid: The uuid for the lvm object we are searching for
-		:param lvm_id: The lvm name (eg. pv device path, vg name, lv full name)
+		:param lvm_id: The lvm name (e.g. pv device path, vg name, lv full name)
 		:param path_create: If not None, create the path using this function if
 				we fail to find the object by uuid or lvm_id.
 		:returns None if lvm asset not found and path_create == None otherwise
@@ -308,7 +308,7 @@ class ObjectManager(AutomatedProperties):
 				# We have a uuid and a lvm_id we can do sanity checks to ensure
 				# that they are consistent
 
-				# If a PV is missing it's device path is '[unknown]' or some
+				# If a PV is missing its device path is '[unknown]' or some
 				# other text derivation of unknown.  When we find that a PV is
 				# missing we will clear out the lvm_id as it's likely not unique
 				# and thus not useful and potentially harmful for lookups.
diff --git a/daemons/lvmdbusd/utils.py b/daemons/lvmdbusd/utils.py
index e12c7fccf..75a5348f5 100644
--- a/daemons/lvmdbusd/utils.py
+++ b/daemons/lvmdbusd/utils.py
@@ -593,7 +593,7 @@ def add_no_notify(cmdline):
 	:rtype: list
 	"""
 
-	# Only after we have seen an external event will be disable lvm from sending
+	# Only after we have seen an external event will we disable lvm from sending
 	# us one when we call lvm
 	if cfg.got_external_event:
 		if 'help' in cmdline:
@@ -612,8 +612,8 @@ def add_no_notify(cmdline):
 
 
 # The methods below which start with mt_* are used to execute the desired code
-# on the the main thread of execution to alleviate any issues the dbus-python
-# library with regards to multi-threaded access.  Essentially, we are trying to
+# on the main thread of execution to alleviate any issues the dbus-python
+# library with regard to multithreaded access.  Essentially, we are trying to
 # ensure all dbus library interaction is done from the same thread!
 
 


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* main - lvmdbusd: Correct typos
@ 2022-09-19 15:58 Tony Asleson
  0 siblings, 0 replies; 2+ messages in thread
From: Tony Asleson @ 2022-09-19 15:58 UTC (permalink / raw)
  To: lvm-devel

Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=ec50979b031e85ab155126aae51ab15b255f4be9
Commit:        ec50979b031e85ab155126aae51ab15b255f4be9
Parent:        3d8882db833909bede4b8cbcc81c1c3b9d9b3515
Author:        Tony Asleson <tasleson@redhat.com>
AuthorDate:    Tue Aug 23 10:24:37 2022 -0500
Committer:     Tony Asleson <tasleson@redhat.com>
CommitterDate: Fri Sep 16 10:49:37 2022 -0500

lvmdbusd: Correct typos

---
 daemons/lvmdbusd/lvmdb.py.in | 2 +-
 test/dbus/lvmdbustest.py     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/daemons/lvmdbusd/lvmdb.py.in b/daemons/lvmdbusd/lvmdb.py.in
index 87474d0f3..d462e0cf8 100644
--- a/daemons/lvmdbusd/lvmdb.py.in
+++ b/daemons/lvmdbusd/lvmdb.py.in
@@ -161,7 +161,7 @@ class DataStore(object):
 		c_lvs = OrderedDict()
 		c_lv_full_lookup = {}
 
-		# Each item item in the report is a collection of information pertaining
+		# Each item in the report is a collection of information pertaining
 		# to the vg
 		for r in _all['report']:
 			# Get the lv data for this VG.
diff --git a/test/dbus/lvmdbustest.py b/test/dbus/lvmdbustest.py
index 878300a97..c4e95b7cc 100755
--- a/test/dbus/lvmdbustest.py
+++ b/test/dbus/lvmdbustest.py
@@ -215,7 +215,7 @@ class TestDbusService(unittest.TestCase):
 	def setUp(self):
 		# Because of the sensitive nature of running LVM tests we will only
 		# run if we have PVs and nothing else, so that we can be confident that
-		# we are not mucking with someones data on their system
+		# we are not mucking with someone's data on their system
 		self.objs, self.bus = get_objects()
 		if len(self.objs[PV_INT]) == 0:
 			std_err_print('No PVs present exiting!')


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-09-19 15:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-19 15:58 main - lvmdbusd: Correct typos Tony Asleson
  -- strict thread matches above, loose matches on Subject: below --
2022-09-19 15:57 Tony Asleson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.