]> err.no Git - pwstore/commitdiff
Ignore YAML document seperator
authorAlexander Wirt <formorer@debian.org>
Sat, 5 Oct 2013 10:27:15 +0000 (12:27 +0200)
committerAlexander Wirt <formorer@debian.org>
Sat, 5 Oct 2013 10:27:15 +0000 (12:27 +0200)
pws

diff --git a/pws b/pws
index 83ab6bbfe2b0033ad357ccf6cd7637a5dd514dee..5ff3c682729b162862f5a4aa4ff089fd22fbffe9 100755 (executable)
--- a/pws
+++ b/pws
@@ -306,7 +306,7 @@ class GroupConfig
     users.split("\n").each do |line|
       lno = lno+1
       next if line =~ /^$/
-      next if line =~ /^#/
+      next if line =~ /^(#|---)/
       if (m = /^(#{USER_PATTERN})\s*=\s*([0-9A-Fa-f]{40})\s*$/.match line)
         user = m[1]
         fpr = m[2]