X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=doc%2FDocBookLocal.py;h=7e22c1b5daef21e6d829307bc810571c44952d9e;hb=HEAD;hp=62853a8db7c29a267a2fca8b6be005184bf32f53;hpb=61955fee15191f1e01cd3003af1de4fbaef4c441;p=nodemanager.git diff --git a/doc/DocBookLocal.py b/doc/DocBookLocal.py index 62853a8..7e22c1b 100755 --- a/doc/DocBookLocal.py +++ b/doc/DocBookLocal.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # PATHS to be set by the build system # this is in .. @@ -11,7 +11,7 @@ def api_methods(): for func in dir(api_calls): try: f = api_calls.__getattribute__(func) - if 'group' in f.__dict__.keys(): + if 'group' in f.__dict__: api_function_list += [api_calls.__getattribute__(func)] except: pass