From 1ef83e1cd9e448039a5b352786b7e7b3cc2204a8 Mon Sep 17 00:00:00 2001 From: Joe Gregorio Date: Tue, 5 Apr 2011 10:53:49 -0400 Subject: [PATCH] Fix problem with runsamples erroring on logging. Add in missing api-python-client-doc file. --- runsamples.py | 3 +-- samples/api-python-client-doc/index.html | 12 ++++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 samples/api-python-client-doc/index.html diff --git a/runsamples.py b/runsamples.py index ef559ee..a526f71 100644 --- a/runsamples.py +++ b/runsamples.py @@ -41,10 +41,10 @@ def main(argv): logging.getLogger().setLevel(getattr(logging, FLAGS.logging_level)) for dirname in os.listdir(FLAGS.sample_root): + fulldirname = os.path.join(FLAGS.sample_root, dirname) if dirname in FLAGS.samples_to_skip: logging.debug('Skipping ' + fulldirname + ' (blacklist)') continue - fulldirname = os.path.join(FLAGS.sample_root, dirname) filelist = os.listdir(fulldirname) if 'settings.py' in filelist and 'manage.py' in filelist: logging.info(fulldirname + ' [Django]') @@ -99,4 +99,3 @@ def main(argv): if __name__ == '__main__': main(sys.argv) - diff --git a/samples/api-python-client-doc/index.html b/samples/api-python-client-doc/index.html new file mode 100644 index 0000000..a1f0dd0 --- /dev/null +++ b/samples/api-python-client-doc/index.html @@ -0,0 +1,12 @@ + + + + Google API Client for Python Documentation + + +

Google API Client for Python Documentation

+ {% for item in directory %} +

{{ item.description }}

+ {% endfor %} + +