Janto Dreijer avatar Janto Dreijer committed dd366de

deal with possible missing svn server

Comments (0)

Files changed (2)

 def fetch_dir_links(url, cache_duration=None):
 	result = get_url(url, cache_duration=cache_duration)
 	if result.status_code != 200:
-		return
+		return []
 
 	items = re.findall('<a href="(.+?)/">.+?</a>', result.content)
 	return [os.path.join(url, item) for item in items if not item.startswith("http://") and not item.startswith("..")]
 echo https_proxy: $https_proxy
 if [ -f google_appengine/dev_appserver.py ]
 then
-	python google_appengine/dev_appserver.py --debug code
+	python google_appengine/dev_appserver.py --log_level debug code
 else
 	echo "ERROR"
 	echo "you need to place the google app engine under the google_appengine subdirectory"
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.