Permalink
Browse files

Merge pull request #139 from inpun/master

FIX: update functions are lost during cloning of a design doc

LGTM! Thanks @ananich
  • Loading branch information...
2 parents 4c50fb0 + 99c24f5 commit 5f7495392f086e689af7e4155ad272526e645a0e @BigBlueHat BigBlueHat committed Feb 17, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 couchapp/clone_app.py
View
@@ -153,7 +153,7 @@ def clone(source, dest=None, rev=None):
filename = os.path.join(vs_item_dir, '%s.js' % func_name)
util.write(filename, func)
logger.warning("clone view not in manifest: %s" % filename)
- elif key in ('shows', 'lists', 'filter', 'update'):
+ elif key in ('shows', 'lists', 'filter', 'updates'):
showpath = os.path.join(path, key)
if not os.path.isdir(showpath):
os.makedirs(showpath)

0 comments on commit 5f74953

Please sign in to comment.