Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9275)

Unified Diff: chrome/common/extensions/docs/server2/fake_fetchers.py

Issue 10832299: Extensions Docs Server: Fix preview.py (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix for .svn Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/docs/server2/fake_fetchers.py
diff --git a/chrome/common/extensions/docs/server2/fake_fetchers.py b/chrome/common/extensions/docs/server2/fake_fetchers.py
index 6b1f88ee49fe1f29475b9151169f8322443eec5e..9fc62095fc0fcd8f4ba018f9f0cf59f5734f64e8 100644
--- a/chrome/common/extensions/docs/server2/fake_fetchers.py
+++ b/chrome/common/extensions/docs/server2/fake_fetchers.py
@@ -32,6 +32,8 @@ class FakeSubversionServer(object):
html = ['<html>Revision 000000']
try:
for f in os.listdir(path):
+ if f.startswith('.'):
+ continue
if os.path.isdir(os.path.join(path, f)):
html.append('<a>' + f + '/</a>')
else:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698