Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed `.` prefixed directory ignoring in pushdocs

Fixes #119

Included sample docs for testing pushdocs.
No tests written yet, though...
  • Loading branch information...
commit 1b7dabe2345d9676ab2a5987df6865146ee4af7b 1 parent a783257
@BigBlueHat BigBlueHat authored
View
2  couchapp/commands.py
@@ -138,7 +138,7 @@ def pushdocs(conf, source, dest, *args, **opts):
docs = []
for d in os.listdir(source):
docdir = os.path.join(source, d)
- if docdir.startswith('.'):
+ if d.startswith('.'):
continue
elif os.path.isfile(docdir):
if d.endswith(".json"):
View
0  tests/testapp/_docs/.hideme/keep
No changes.
View
4 tests/testapp/_docs/test.json
@@ -0,0 +1,4 @@
+{
+ "_id": "test_doc",
+ "test": "ing"
+}
Please sign in to comment.
Something went wrong with that request. Please try again.