Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / tools / swarming_client / googletest / README.py
index 0f14689..e53d658 100755 (executable)
@@ -22,7 +22,7 @@ def main():
     if not i.endswith('.py') or i == 'PRESUBMIT.py':
       continue
     module = __import__(i[:-3])
-    if hasattr(module, '__doc__'):
+    if getattr(module, '__doc__'):
       print module.__name__
       print ''.join('  %s\n' % i for i in module.__doc__.splitlines())
   return 0