Skip to contentSkip to conversation

master - lvmdbusd: Prefix tag string with '@'

PATCH tasleson 1 participant 1 message Aug 29, 2016

lore
Share & tools
lore

tasleson

author
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=7412690dd2ca55d0a790ba50a3425565758130ce
Commit:        7412690dd2ca55d0a790ba50a3425565758130ce
Parent:        257ce5733e386dbf3b270ca0efffe744f8d888c5
Author:        Tony Asleson <[email protected]>
AuthorDate:    Mon Aug 29 18:00:21 2016 -0500
Committer:     Tony Asleson <[email protected]>
CommitterDate: Mon Aug 29 18:00:21 2016 -0500

lvmdbusd: Prefix tag string with '@'

---
 daemons/lvmdbusd/cmdhandler.py |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
daemons/lvmdbusd/cmdhandler.py +1 -4
index 2739497..c8c7baa 100644
@@ -235,10 +235,7 @@ def pv_remove(device, remove_options):
 
 
 def _qt(tag_name):
-	# When running in lvm shell you need to quote the tags
-	if cfg.SHELL_IN_USE:
-		return '"%s"' % tag_name
-	return tag_name
+	return '@%s' % tag_name
 
 
 def _tag(operation, what, add, rm, tag_options):