Permalink
Browse files

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

  • Loading branch information...
1 parent b3d2fbd commit 99c24f5ea403a6b0d68c94152b5f99f396bda657 @ananich ananich committed Feb 12, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 couchapp/clone_app.py
@@ -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 99c24f5

Please sign in to comment.