We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 269d111 commit 8473929Copy full SHA for 8473929
couchdb/tools/replicate.py
@@ -89,9 +89,8 @@ def main():
89
all = sorted(i for i in source if i[0] != '_') # Skip reserved names.
90
if not spath:
91
raise parser.error('source database must be specified')
92
- else:
93
- databases = [(i, i) for i in all if fnmatch.fnmatchcase(i, spath)]
94
+ databases = [(i, i) for i in all if fnmatch.fnmatchcase(i, spath)]
95
if not databases:
96
raise parser.error("no source databases match glob '%s'" % spath)
97
0 commit comments