Oop, the 'mailinglist' file was leftover from older ezmlm. Not created by ezmlm-make anymore.
This commit is contained in:
parent
33b3c08d75
commit
f43372e648
2 changed files with 3 additions and 3 deletions
|
|
@ -14,7 +14,7 @@ module Ezmlm
|
|||
# $Id$
|
||||
|
||||
# Package version
|
||||
VERSION = '1.1.0'
|
||||
VERSION = '1.1.1'
|
||||
|
||||
# Suck in the components.
|
||||
#
|
||||
|
|
@ -35,7 +35,7 @@ module Ezmlm
|
|||
def find_directories( listsdir )
|
||||
listsdir = Pathname.new( listsdir )
|
||||
return Pathname.glob( listsdir + '*' ).sort.select do |entry|
|
||||
entry.directory? && ( entry + 'mailinglist' ).exist?
|
||||
entry.directory? && ( entry + 'ezmlmrc' ).exist?
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ class Ezmlm::List
|
|||
###
|
||||
def initialize( listdir )
|
||||
listdir = Pathname.new( listdir ) unless listdir.is_a?( Pathname )
|
||||
unless listdir.directory? && ( listdir + 'mailinglist' ).exist?
|
||||
unless listdir.directory? && ( listdir + 'ezmlmrc' ).exist?
|
||||
raise ArgumentError, "%p doesn't appear to be an ezmlm-idx list." % [ listdir.to_s ]
|
||||
end
|
||||
@listdir = listdir
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue