1791 """ |
1791 """ |
1792 Private method to check for unnecessary nesting of os.path.join(). |
1792 Private method to check for unnecessary nesting of os.path.join(). |
1793 |
1793 |
1794 @param node reference to the AST node to be checked |
1794 @param node reference to the AST node to be checked |
1795 @type ast.Call |
1795 @type ast.Call |
1796 """ |
1796 """ # __IGNORE_WARNING_D234r__ |
1797 # __IGNORE_WARNING_D234r__ |
1797 |
1798 def getOsPathJoinArgs(node): |
1798 def getOsPathJoinArgs(node): |
1799 names = [] |
1799 names = [] |
1800 for arg in node.args: |
1800 for arg in node.args: |
1801 if ( |
1801 if ( |
1802 isinstance(arg, ast.Call) |
1802 isinstance(arg, ast.Call) |