Commit e66a83f1 authored by Vincent Pelletier's avatar Vincent Pelletier

fixup! Use regexes for URL bases instead of startswith().

parent 575011b1
......@@ -683,7 +683,7 @@ def main():
default_site = args.default
if default_site is None:
default_action = None
if not [None for _, x in site_list if x is not None]:
if not [None for _, _, x in site_list if x is not None]:
print >> sys.stderr, 'None of --default, --erp5-base and --base were ' \
'specified, nothing to do.'
sys.exit(1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment