Commits

Janto Dreijer committed dd366de

deal with possible missing svn server

  • Participants
  • Parent commits db62cb0

Comments (0)

Files changed (2)

File code/tools.py

 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"