Skip to contentSkip to conversation

master - lvmdbusd: Add '-' to allowable PV device path chars

PATCH tasleson 1 participant 1 message Mar 24, 2016

lore
Share & tools
lore

tasleson

author
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=d243db5466591412a3c99bb5be84e338da9ba4c9
Commit:        d243db5466591412a3c99bb5be84e338da9ba4c9
Parent:        109b7e2095a7bc5603bf79db0224b8399463af7c
Author:        Tony Asleson <[email protected]>
AuthorDate:    Thu Mar 24 12:26:28 2016 -0500
Committer:     Tony Asleson <[email protected]>
CommitterDate: Thu Mar 24 12:27:02 2016 -0500

lvmdbusd: Add '-' to allowable PV device path chars

---
 daemons/lvmdbusd/utils.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
daemons/lvmdbusd/utils.py +1 -1
index dacd0ef..3dcb373 100644
@@ -389,7 +389,7 @@ def round_size(size_bytes):
 	return size_bytes + bs - remainder
 
 
-_ALLOWABLE_CH = string.ascii_letters + string.digits + '#+.:=@_\/%'
+_ALLOWABLE_CH = string.ascii_letters + string.digits + '#+-.:=@_\/%'
 _ALLOWABLE_CH_SET = set(_ALLOWABLE_CH)
 
 _ALLOWABLE_VG_LV_CH = string.ascii_letters + string.digits + '.-_+'