1. Janto Dreijer
  2. scikits_index


Janto Dreijer  committed dd366de

deal with possible missing svn server

  • Participants
  • Parent commits db62cb0
  • Branches default

Comments (0)

Files changed (2)

File code/tools.py

View file
 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("..")]

File run.sh

View file
 echo https_proxy: $https_proxy
 if [ -f google_appengine/dev_appserver.py ]
-	python google_appengine/dev_appserver.py --debug code
+	python google_appengine/dev_appserver.py --log_level debug code
 	echo "ERROR"
 	echo "you need to place the google app engine under the google_appengine subdirectory"