File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed
samples/api-python-client-doc Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -41,10 +41,10 @@ def main(argv):
4141 logging .getLogger ().setLevel (getattr (logging , FLAGS .logging_level ))
4242
4343 for dirname in os .listdir (FLAGS .sample_root ):
44+ fulldirname = os .path .join (FLAGS .sample_root , dirname )
4445 if dirname in FLAGS .samples_to_skip :
4546 logging .debug ('Skipping ' + fulldirname + ' (blacklist)' )
4647 continue
47- fulldirname = os .path .join (FLAGS .sample_root , dirname )
4848 filelist = os .listdir (fulldirname )
4949 if 'settings.py' in filelist and 'manage.py' in filelist :
5050 logging .info (fulldirname + ' [Django]' )
@@ -99,4 +99,3 @@ def main(argv):
9999
100100if __name__ == '__main__' :
101101 main (sys .argv )
102-
Original file line number Diff line number Diff line change 1+ <!DOCTYPE HTML>
2+ < html >
3+ < head >
4+ < title > Google API Client for Python Documentation </ title >
5+ </ head >
6+ < body >
7+ < h1 > Google API Client for Python Documentation </ h1 >
8+ {% for item in directory %}
9+ < p > < a href ="/{{ item.name }}/{{ item.version }} "> < img src ="{{ item.icons.x32 }} "/> {{ item.description }} </ a > </ p >
10+ {% endfor %}
11+ </ body >
12+ </ html >
You can’t perform that action at this time.
0 commit comments